Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert seconds since epoch to time stamp?

Status
Not open for further replies.

dmjoen

Technical User
Jul 26, 2001
31
US
Does anyone know of a utility that will convert seconds since the epoch into a date/time stamp?

Thanks
 
sapcws:/ >perl -we "print time"
1022897446

sapcws:/ >perl -we "print scalar localtime 1022897446"
Fri May 31 21:10:46 2002

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top