Re: time
- Posted by "Carl W." <euphoria at cyreksoft.yorks.com> Aug 08, 2002
- 438 views
Kat wrote: > <embarassed look> > I forgot how the email thread about converting machine time to human time > ended. If it was a Windows thread I may have skipped it. Chances are there's something in the Windows API that'll do it. Otherwise <product plug mode on>... > Given: > 1028458790 > > how to convert to: > Sun Aug 04 05:59:50 2002 This looks like the 'Number of seconds since 1-1-1970' format. I wrote a library last year that handles this and a few other date and time handling routines. The following link will search for it at RapidEuphoria.com (should be all on one line): http://www.rapideuphoria.com/cgi-bin/asearch.exu?gen=on&keywords=Carl+White+ datetime The only real bug with the library that I know of is that there's a spurious 'with trace' in the .e file itself... Carl