"Sergey" wrote:
> There is function
> mktime() -- convert local time tuple to seconds since Epoch
> in module time.
> But how about to convert *GMT time tuple* to seconds since Epoch?
>
> Is there such function?
>>> import calendar
>>> help(calendar.timegm)
Help on function timegm in module calend
Sergey wrote:
> There is function
> mktime() -- convert local time tuple to seconds since Epoch
> in module time.
> But how about to convert *GMT time tuple* to seconds since Epoch?
>
> Is there such function?
>
>
Does mktime(gmtime()) suit your needs ?
Regs,
jm
--
http://mail.python.org/mailma