[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: convert from unix time to calendar time
I have some data (lots actually!) in which each record has a unix time
stamp (meaning epoch starting January 1, 1970 in seconds). I would like
to convert this into a more useful calendar date and time. Before I
write my own do file I was wondering if any one has come across this
problem before and found an easy way to solve it. Solving it requires
converting seconds into the actual time, day, month year --> thus today,
September 26, 2002 at 10.30 am would convert to 1033036225 in unix time
(indicating how many seconds have elapsed since Jan 1, 1970).
Appreciate any help!
* For searches and help try: