chprakashs
-
Total Posts
:
4
- Scores: 0
-
Reward points
:
0
- Joined: 2/14/2009
-
Status: offline
|
compare modified timeon two file diff time zones
Thursday, November 19, 2009 5:30 AM
( permalink)
Hi, I'm trying to compare modified time of two files which are in different time zones. I'm able to get the modified of both the files using GetFile and comparing them using DateDiff but since both the files are in different time zones result in incorrect. Getfile is not getting the time zone of the file. Is there any way to change the time zone of file1 to the time zone of file2. Here, time zone of file1 can be any timezone of 10 different site we have but i know the time zone of file2. Is there a way to do this with a vb script? Thanks in advance for the help!
|
|
|
|
ebgreen
-
Total Posts
:
8227
- Scores: 98
-
Reward points
:
0
- Joined: 7/12/2005
-
Status: offline
|
Re:compare modified timeon two file diff time zones
Thursday, November 19, 2009 5:54 AM
( permalink)
This is going to sound like sacrilege coming from me, but I think that I would look at using JScript and the GetTimeZoneOffset method.
|
|
|
|