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

Home » Public Forums » archive » Re: getting mtime as date/time-string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: getting mtime as date/time-string [message #38828] Thu, 01 April 2004 04:40
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
In article <7778dee2.0404010350.128d484b@posting.google.com>, "Corinna
Maass" <rosencrantz@gmx.net> wrote:


> I need to get the modification time of a given file as a
> date/time-string as it is returned by systime(). file_info.mtime returns
> the time in seconds since 1 January 1970 UTC. Is there any conversion
> routine, or maybe a command other than file_info, that will help me to
> my string? Thanks for your help.

time_string=systime(0,seconds_since_jan1_1970)

returns the string "DAY MONTH DATE HOUR:MIN:SECOND YEAR"

Chris.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: getting mtime as date/time-string
Next Topic: again call_external

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

Current Time: Wed Oct 08 19:24:22 PDT 2025

Total time taken to generate the page: 0.00565 seconds