|
|
|
|
|
| | |
| |
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|