Article View: pl.comp.lang.python
Article #28491Re: Różnica podczas dekodowania daty z php
From: ammate
Date: Fri, 22 Nov 2013 11:18
Date: Fri, 22 Nov 2013 11:18
18 lines
1936 bytes
1936 bytes
On Friday, November 22, 2013 12:07:38 PM UTC+1, Piotr Kęplicz wrote:
> ammate@gmail.com:
>
> > datetime.fromtimestamp(1355295480).strftime('%Y-%m-%d %H:%m:%S')
>
> >
>
> > Zwraca:
>
> > '2012-12-12 07:12:00'
>
>
>
> %m to miesiąc, %M to minuty.
Drobne przeoczenie ale dalej jest różnica:
datetime.fromtimestamp(1355295480).strftime('%Y-%m-%d %H:%M:%S')
'2012-12-12 07:58:00'
Technical Details
Message-ID:
<a134b653-e92c-4b71-acbf-72b459aa3313@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!cyclone01.ams2.highwinds-media.com!voer-me.highwinds-media.com!peer01.iad.highwinds-media.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!dz2no1633625qab.0!news-out.google.com!z9ni242qaj.0!nntp.google.com!i2no1637129qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<59fec2e5-b1b7-421d-907e-a885ffba7df3@googlegroups.com> <528f3afa$0$2278$65785112@news.neostrada.pl>Show Full Headers
Complete Article Headers
X-Received: by 10.58.137.135 with SMTP id qi7mr3996250veb.25.1385119081987; Fri, 22 Nov 2013 03:18:01 -0800 (PST) X-Received: by 10.49.16.168 with SMTP id h8mr391473qed.2.1385119081928; Fri, 22 Nov 2013 03:18:01 -0800 (PST) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!cyclone01.ams2.highwinds-media.com!voer-me.highwinds-media.com!peer01.iad.highwinds-media.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!dz2no1633625qab.0!news-out.google.com!z9ni242qaj.0!nntp.google.com!i2no1637129qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.python Date: Fri, 22 Nov 2013 03:18:01 -0800 (PST) In-Reply-To: <528f3afa$0$2278$65785112@news.neostrada.pl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.157.77.254; posting-account=PYMpNAoAAABX2rtTy6ydWYnbMyAh4d5v NNTP-Posting-Host: 93.157.77.254 References: <59fec2e5-b1b7-421d-907e-a885ffba7df3@googlegroups.com> <528f3afa$0$2278$65785112@news.neostrada.pl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <a134b653-e92c-4b71-acbf-72b459aa3313@googlegroups.com> Subject: Re: Różnica podczas dekodowania daty z php From: ammate@gmail.com Injection-Date: Fri, 22 Nov 2013 11:18:01 +0000 X-Received-Body-CRC: 3685558113 X-Received-Bytes: 1805 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit