If someone could provide a few tips on computing the difference
between now and the timestamp on a file that's be great.
I'm writing a VBScript that sends an email if a file is older than
hour old.
Thanks.
If someone could provide a few tips on computing the difference
between now and the timestamp on a file that's be great.
I'm writing a VBScript that sends an email if a file is older than
hour old.
Thanks.
--
Jeff C
Live Well .. Be Happy In All You Do
"gimme_this_gimme_that@xxxxxx" wrote:
Review DateDiff:
> If someone could provide a few tips on computing the difference
> between now and the timestamp on a file that's be great.
>
> I'm writing a VBScript that sends an email if a file is older than
> hour old.
>
> Thanks.
>
http://www.devguru.com/Technologies/.../datediff.html
filename = "whatever"
diffInMinutes = datediff("N",fso.GetFile(filename).DateLastModified,Now)
returns the time in minutes between Now and the last file modification.
"Jeff C" <JeffC@xxxxxx> wrote in message
news:56875826-203F-4582-ADB1-D674283B8A00@xxxxxx
>
> --
> Jeff C
> Live Well .. Be Happy In All You Do
>
>
> "gimme_this_gimme_that@xxxxxx" wrote:
>>
>> If someone could provide a few tips on computing the difference
>> between now and the timestamp on a file that's be great.
>>
>> I'm writing a VBScript that sends an email if a file is older than
>> hour old.
>>
>> Thanks.
>>
> Review DateDiff:
>
> http://www.devguru.com/Technologies/.../datediff.html
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FTP timestamp and offset Problem | Jason | Vista General | 2 | 28 May 2009 |
| > File Permission Ownership difference b/w FireFox and Vista | excalibr | Vista General | 4 | 15 Apr 2009 |
| File Permission Ownership difference b/w FireFox and Vista | excalibr | Browsers & Mail | 0 | 09 Feb 2009 |
| Timestamp question | rx44 | General Discussion | 0 | 18 Sep 2008 |
| DNS timestamp conversion | TPGBrennan | VB Script | 1 | 20 May 2008 |