Re: [Tutor] can time.time() be reversed so as to get date?
by Luke Paireepinart other posts by this author
Nov 6 2009 2:05PM messages near this date
Re: [Tutor] can time.time() be reversed so as to get date?
|
Re: [Tutor] can time.time() be reversed so as to get date?
On Fri, Nov 6, 2009 at 11:37 AM, Shashwat Anand <anand.shashwat@[...].com> wrote:
> Problem resolved.
>
> time.ctime(no_of_seconds - 330*60) does it.
> 330*60, because my time-zone is GMT+5:30 and time.ctime() gives the local
> time while I wanted the GMT.
>
Where do they use time zones that aren't a multiple of an hour? That must
be incredibly confusing.
Thread:
Shashwat Anand
Vince Spicer
Alan Gauld
Alan Gauld
Alan Gauld
Timo
Shashwat Anand
Luke Paireepinart
Shashwat Anand
Dave Angel
|