cleaning up

Ryan Schmidt ryandesign at macports.org
Tue Jan 12 07:32:10 PST 2010


Quoting Jeremy Lavergne:

>> To be safer yet is the timestamp always x digits long? I'd rather  
>> use [0-9]{10}.
>
> Likely they are all the same size.

It's a standard UNIX timestamp: the number of seconds since the epoch  
of UNIX time: 01 Jan 1970 00:00:00 UTC. The first ten-digit timestamp  
(1000000000) occurred 09 Sep 2001 01:46:40 UTC, and the last will be  
the end of UNIX time on 19 Jan 2038 03:14:07 UTC (since the timestamp  
is a signed 32-bit integer and thus has a maximum value of 2^31 - 1 or  
2147483647).

http://en.wikipedia.org/wiki/Year_2038_problem






More information about the macports-dev mailing list