Deviloper wrote:
>But I want to know the unixtimestamp of 0:00:00 12, 25th, 2008 and 23:59:59 of 
>12,25th,2008.
>
>Because of shift seconds this is not so easy as I thought.

Unix time doesn't count leap seconds.  2008-12-25 is 14238 days after
the Unix epoch (1970-01-01), so the Unix time at 00:00:00 UT on that
day is 86400*14238, and the Unix time at 23:59:59 UT on that day is
86400*14239-1.

-zefram

Reply via email to