comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » file_info bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
file_info bug [message #34962] Wed, 30 April 2003 00:55
News[1] is currently offline  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
[Message index]
 
Read Message
Previous Topic: Sensitive options in cw_form
Next Topic: xcontour and time axis

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 23:24:50 PDT 2025

Total time taken to generate the page: 1.01111 seconds