Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35996
| Path | csiph.com!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.038 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'obey': 0.09; 'sane': 0.09; 'timestamp': 0.09; 'assume': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'roy': 0.16; 'subject: \n ': 0.16; 'timezones': 0.16; 'utc': 0.16; 'utc,': 0.16; 'utc.': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'jan': 0.18; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'in.': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'received:209.85.212': 0.28; 'run': 0.28; 'staying': 0.29; 'knows': 0.30; 'to:addr:python-list': 0.33; 'that,': 0.34; 'agree': 0.34; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'beyond': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'most': 0.61; 'matter': 0.61; 'hints': 0.65; 'smith': 0.71; 'absolutely': 0.84; '2013': 0.84; 'absolutely.': 0.84; 'dates:': 0.84; 'subject:Using': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+Se7Qe75/3FZwJx1yJkg5172DNvbcJaphda5ZFVg6SU=; b=hgbO+8zpUa2oswa+GMrtXWDxbiKZrDhCLObgg6O4JpGXBvMNlnbrUxuxmAxm83uO/j iZ1j98T5Xd+eqVDz17/ESRb8j29YcGUIlQiw4rZstEYv/f7vMXODYT6ZEmiUIU/JwjK/ DLTXW1cz9PycA+eTY4KKlOz+KNUTgzibXnxdGEqYLNVZ8LMY7upZVu7Nzq7D33xHRugR Zyu7OXeGin4AlwbfD5jjaW/5VrWR+nI8WILeRSgupVg3DYq/71Jj3xS7CwOJBP3gUUxk GRlXN3Fnvem2QQUIqC4/73XGiFSvARKxYjbXasRbjqjE+qD4Q2cfyrIQjFJglHhIicll RxoQ== |
| MIME-Version | 1.0 |
| In-Reply-To | <roy-358706.09280402012013@news.panix.com> |
| References | <dfd18cf3-e2c0-4f0e-a4c1-a72924039a15@googlegroups.com> <roy-358706.09280402012013@news.panix.com> |
| Date | Thu, 3 Jan 2013 01:51:15 +1100 |
| Subject | Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1574.1357138278.29569.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1357138279 news.xs4all.nl 6867 [2001:888:2000:d::a6]:42178 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35996 |
Show key headers only | View raw
On Thu, Jan 3, 2013 at 1:28 AM, Roy Smith <roy@panix.com> wrote: > PPS: Some additional hints for staying sane while working with dates: I assume you mean timestamps. A date doesn't need to worry about UTC the way a timestamp does. Beyond that, I agree with most of your comments. > 3) Run all your servers with their timezones set to UTC. Not strictly necessary imo; as long as your application knows that it needs to work in UTC, it doesn't matter what the OS works in. But yes, it is a convenience. > 7) If it's absolutely impossible to obey rule #6, run away from the > project. Absolutely. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Victor Hooi <victorhooi@gmail.com> - 2013-01-02 00:01 -0800
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Vlastimil Brom <vlastimil.brom@gmail.com> - 2013-01-02 09:33 +0100
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Dave Angel <davea@dejaviewphoto.com> - 2013-01-02 09:06 -0500
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Roy Smith <roy@panix.com> - 2013-01-02 09:28 -0500
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Chris Angelico <rosuav@gmail.com> - 2013-01-03 01:51 +1100
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? roy@panix.com (Roy Smith) - 2013-01-02 12:27 -0500
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Chris Angelico <rosuav@gmail.com> - 2013-01-03 04:34 +1100
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Dave Angel <d@davea.name> - 2013-01-02 12:44 -0500
Re: Using mktime to convert date to seconds since epoch - omitting elements from the tuple? Barry Scott <barry@barrys-emacs.org> - 2013-01-03 23:46 +0000
csiph-web