in reply to Re: (mitd)Re: Re: Re: time & localtime() function Q?
in thread time & localtime() function Q?
Which will print out 0 if your computer uses the standard epoch.perl -MTime::Local -e '$time = timegm(0,0,0,1,0,70); print"$time\n"'
which will print out "1000000000", because back in November (3:46:40 seconds, November 9th 2001), epoch times started being ten digits.perl -MTime::Local -e '$time = timelocal(40,46,3,9,8,101); print" $tim +e\n"'
|
|---|