file_info bug [message #34962] |
Wed, 30 April 2003 00:55 |
News[1]
Messages: 1 Registered: April 2003
|
Junior Member |
|
|
Hi All
Is this a bug in file_info, or is my understanding of the routine wrong?
Essentially the problem is that the creation time of the file as reported by
file_info differs from that reported by fstat (the timezone that I am in is
GMT+2).
Cheers,
Jacques
IDL Version 5.6, Microsoft Windows (Win32 x86 m32). (c) 2002, Research
Systems, Inc.
IDL> print, !version
{ x86 Win32 Windows Microsoft Windows 5.6 Oct 26 2002 32 64}
IDL> print, systime(0)
Wed Apr 30 09:53:57 2003
IDL> openw, u, 'c:\test.dat', /get_lun
IDL> close, u
IDL> free_lun, u
IDL> print, systime(0, (file_info('c:\test.dat')).ctime)
Wed Apr 30 07:53:57 2003
IDL> print, systime(0, (file_info('c:\test.dat')).ctime, /utc)
Wed Apr 30 05:53:57 2003
IDL> openr, u, 'c:\test.dat', /get_lun
IDL> print, systime(0,(fstat(u)).ctime)
Wed Apr 30 09:53:57 2003
IDL> print, systime(0,(fstat(u)).ctime, /utc)
Wed Apr 30 07:53:57 2003
IDL> close, u
IDL> free_lun, u
|
|
|