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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed for time conversion

Status
Not open for further replies.

sergelaurent

Technical User
May 30, 2005
52
0
0
FR
I have got a variable containing the number of seconds which has passed from midnight on the 1 january 1970.

For example, I have x=1118402462

Finally, I woule like to get the date and time that is
10Jun05 13:21:02

Is there any command which can help me to do this conversion?

Thanks,
lolo
 
look at the man page for clock format

_________________
Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top