You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
651 B

From: mnot at (Mark Nottingham)
Date: Fri, 30 Apr 1999 12:55:50 GMT
Subject: mktime() like function to produce GMT?
Message-ID: <00be01be9308$c649cf60$>
X-UID: 225
I need a function to produce a Unix epoch time from a time tuple, a la
time.mktime(). Problem is, mktime() gives you the tuple in localtime, which
is dangerous if you're dealing with GMT times in the past (like in the
Is there a function that will make a GMT epoch time straight from a time
Mark Nottingham, Melbourne Australia
mnot at