Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20190
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Olive <diolu@bigfoot.com> |
| Newsgroups | comp.lang.python |
| Subject | datetime module and timezone |
| Date | Fri, 10 Feb 2012 22:25:45 +0100 |
| Organization | Aioe.org NNTP Server |
| Lines | 8 |
| Message-ID | <20120210222545.4cbe6924@bigfoot.com> (permalink) |
| NNTP-Posting-Host | lnn4UgzgIP1gTDQfrhExoQ.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Complaints-To | abuse@aioe.org |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| X-Newsreader | Claws Mail 3.8.0 (GTK+ 2.24.10; i686-pc-linux-gnu) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20190 |
Show key headers only | View raw
In the datetime module, it has support for a notion of timezone but is it possible to use one of the available timezone (I am on Linux). Linux has a notion of timezone (in my distribution, they are stored in /usr/share/zoneinfo). I would like to be able 1) to know the current timezone and 2) to be able to use the timezone available on the system. How can I do that? Olive
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
datetime module and timezone Olive <diolu@bigfoot.com> - 2012-02-10 22:25 +0100
Re: datetime module and timezone John Gordon <gordon@panix.com> - 2012-02-10 21:30 +0000
Re: datetime module and timezone Chris Rebert <clp2@rebertia.com> - 2012-02-10 14:00 -0800
Re: datetime module and timezone Bob Martin <bob.martin@excite.com> - 2012-02-11 07:05 +0000
Re: datetime module and timezone all mail refused <elvis-85496@notatla.org.uk> - 2012-02-11 08:51 +0000
csiph-web