On all operation systems file creation/modification/access times are stored in Coordinated Universal Time (UTC) format as 64-bit values representing the number of 100-nanosecond intervals since January 1, 1601. FTPFileDateTime automatically translates file time to local on the system running the job. All translations between UTC time and local time are based on the following formula: UTC = local time + bias The bias is the difference, in minutes, between UTC time and local time. Of cource the bias also depends on the time zone. If your FTP server and computer running the job are setup to use different timezones, you can see different times for the same file as the the time of your message posted on this board probably differs from your local time. You can use DateTimeAdd method to adjust the retrieved file time or alternativelly you can set your computer to use the same timezone as the server. 24x7 retrieves these values and converts them to the local time : The FTPFileDateTime command seems to return a time that is actually 4 hours : earlier than the real time stamp on the file. Is this a known bug? : I'm using version 3.2.2 : Thanks, : Mark
|