|
|
|
|
|
| | |
| |
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: Date Diff Routine |
|
From: |
peter |
|
Date: |
10/8/2002 12:03:54 PM |
|
IP: |
193.128.179.161 |
Hello,
I assume you know how to load in the value from the database. We'll call it Date1.
Using the function DateDiff:
DateDiff(interval,date1,date2[,firstdayofweek[,firstweekofyear]])
If DateDiff("h", date1, now()) > 4 Then
Call yourUpdateRoutine
End If
Somink like that ;)
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|