Getting the epoch time as an integer
24 Jan
2000
24 Jan
'00
7 a.m.
How do I get the current time as the number of seconds since the Epoch? I know I can use ZopeTime in various interesting ways to get a pretty string that expresses the current time/date in human readable format. I don't want that. I want the raw integer number of seconds since 1970. I've been thru the HOW-TO, thru the DTML guide and all the option and format strings and I just don't see it (or I'm going blind). Surely there's a way to get just the raw time_t? -- J C Lawrence Home: claw@kanga.nu ----------(*) Other: coder@kanga.nu --=| A man is as sane as he is dangerous to his environment |=--
9569
Age (days ago)
9569
Last active (days ago)
0 comments
1 participants
participants (1)
-
J C Lawrence