Home »
Public Forums »
archive »
Re: getting mtime as date/time-string
Re: getting mtime as date/time-string [message #38828] |
Thu, 01 April 2004 04:40 |
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.
|
|
|
Current Time: Wed Oct 08 19:24:22 PDT 2025
Total time taken to generate the page: 0.00565 seconds