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

strftime utc seconds starting from 1 Jan 2000 12:00

Status
Not open for further replies.

tini1208

Technical User
Feb 13, 2006
56
DE
hi all,

i use strftime for converting seconds in date and time, but the strftime counts from 1 Jan 1970 00:00. Is there a command using UTC seconds starting from noon 1 Jan 2000?

my commands look like this:

Code:
 print strftime("%Y\t%m\t%d\t%H\t%M\t%S",$1)

where $1 = seconds.

can anybody help me?
 
hi fherke,

yes...i did this, but i thought there are an onther possibility. but thanks for your tip!!!

cheers, tini
 
sorry...my e-key clamps sometimes!! ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top