[slang-users] TIme Routines.

Laurent Perez Laurent.Perez at greyc.ensicaen.fr
Mon Jul 18 14:03:55 EDT 2005


* Ben Duncan <ben at versaccounting.com> [2005-07-18 11:56] :
> Slackware 10.1 .....glibc
> 
> Ran your routine and got back a -1 from mktime ..

I am using Slackware 10.1 too and got the same as John :

slsh> tm = localtime (-100000000);
slsh> print (tm);
{tm_sec=20, tm_min=13, tm_hour=15, tm_mday=31, tm_mon=9, tm_year=66,
tm_wday=1, tm_yday=303, tm_isdst=0}
slsh> mktime (tm);
-100000000

S-Lang Library Version: 2.0.4

Anyway, was there something before the Epoch ? ;^)




More information about the slang-users-l mailing list