Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75978

get the min date from a list

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <elearn2014@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.235
X-Spam-Level **
X-Spam-Evidence '*H*': 0.59; '*S*': 0.06; '201': 0.16; '>>>': 0.22; '+0000': 0.22; 'aug': 0.22; 'header:User-Agent:1': 0.23; 'subject:list': 0.30; 'subject:the': 0.34; 'subject:from': 0.34; 'received:google.com': 0.35; 'should': 0.36; 'received:10': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'subject:get': 0.81; 'min': 0.84; '+0800': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Fp0zwfH7wvF1o643jkgwwxKdyX4brsHzBf7uv2bgfGw=; b=mf70QYoO8YHD5YNGA/OiryZPsAbOA9dkYZ9COT6q/2vGg7Cp9a+/nf0sw2oAOvEGlI YOo7yGew0Q3SUwVUv0+8y4XtVwFrqnD4SOuhhqYBBQunfp2WQ6YCFpv6ELAhsgryJ8TU 5tDEThY9XgNY+qkv4YAGq4dXtKbU8ECeUsDbutPY6H7kT9e8fmarm1ysOgUNZTBjmoPT H/6Bgn7321fArLqskVO4rZiYl4C1Nv+8kN74pKRtcx+3p/ZKzXAcHfL52xvuRpxu3E6M 9Tq9U3HSwVZBfRwbPjxfnE9nAxaHQW7ZolaRGIljyPzEmHqU69j4CJ3E/1aJVJTpt54C 0HQw==
X-Received by 10.70.103.132 with SMTP id fw4mr16457659pdb.99.1407654865235; Sun, 10 Aug 2014 00:14:25 -0700 (PDT)
Date Sun, 10 Aug 2014 00:14:19 -0700
From luofeiyu <elearn2014@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version 1.0
To python-list@python.org
Subject get the min date from a list
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Sun, 10 Aug 2014 12:29:04 +0200
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12814.1407666545.18130.python-list@python.org> (permalink)
Lines 49
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407666545 news.xs4all.nl 2845 [2001:888:2000:d::a6]:60689
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75978

Show key headers only | View raw


 >>> date
['Sat, 09 Aug 2014 07:36:46 -0700', 'Fri, 8 Aug 2014 22:25:40 -0400', 
'Sat, 9 Au
g 2014 12:46:43 +1000', 'Sat, 9 Aug 2014 12:50:52 +1000', 'Sat, 9 Aug 
2014 02:51
:01 +0000 (UTC)', 'Sat, 9 Aug 2014 13:03:24 +1000', 'Sat, 09 Aug 2014 
13:06:28 +
1000', 'Fri, 8 Aug 2014 20:48:44 -0700 (PDT)', 'Fri, 8 Aug 2014 23:52:09 
-0700 (
PDT)', 'Sat, 09 Aug 2014 09:15:50 +0200', 'Sat, 9 Aug 2014 01:49:54 
-0600', 'Sat
, 9 Aug 2014 01:57:18 -0600', 'Sat, 9 Aug 2014 17:54:23 +0800 (CST)', 
'Sat, 9 Au
g 2014 12:49:08 +0200', 'Sat, 9 Aug 2014 07:31:09 -0400', 'Sat, 9 Aug 
2014 07:34
:16 -0400', 'Sat, 09 Aug 2014 11:39:16 +0000', 'Sat, 9 Aug 2014 07:40:41 
-0400',
  'Sat, 9 Aug 2014 11:46:54 +0000', 'Sat, 09 Aug 2014 13:48:17 +0200', 
'Sat, 09 A
ug 2014 21:53:11 +1000', 'Sat, 09 Aug 2014 14:13:13 +0200', 'Sat, 09 Aug 
2014 08
:16:08 -0400', 'Sat, 09 Aug 2014 22:17:25 +1000', 'Sat, 09 Aug 2014 
14:33:54 +02
00', 'Sat, 9 Aug 2014 14:46:01 +0200', 'Sat, 09 Aug 2014 10:34:58 
-0300', 'Sat,
09 Aug 2014 11:34:22 -0400', 'Sat, 09 Aug 2014 12:16:56 -0400', 'Sat, 09 
Aug 201
4 12:26:38 -0400', 'Sat, 09 Aug 2014 13:29:59 -0400', 'Sat, 09 Aug 2014 
13:43:33
  -0400', 'Sat, 9 Aug 2014 11:30:35 -0300', 'Sat, 09 Aug 2014 20:14:20 
+0200', 'S
un, 10 Aug 2014 08:18:34 +1000', 'Sat, 9 Aug 2014 18:23:08 -0400 (EDT)', 
'Sat, 0
9 Aug 2014 18:30:17 -0400', 'Sat, 09 Aug 2014 18:31:38 -0400', 'Sun, 10 
Aug 2014
  09:43:44 +1000', 'Sat, 9 Aug 2014 18:27:15 -0700 (PDT)', 'Sun, 10 Aug 
2014 03:4
4:56 +0200', 'Sun, 10 Aug 2014 01:55:24 +0000 (UTC)', 'Sun, 10 Aug 2014 
02:01:06
  +0000 (UTC)', 'Sat, 9 Aug 2014 19:41:08 -0700 (PDT)', 'Sat, 9 Aug 2014 
22:51:29
  -0400 (EDT)', 'Sun, 10 Aug 2014 07:34:44 +0200', 'Tue, 5 Aug 2014 
01:55:24 +000
0 (UTC)']
 >>> min(date)
'Fri, 8 Aug 2014 20:48:44 -0700 (PDT)'

The result is wrong,the min date should be 'Tue, 5 Aug 2014 01:55:24 +000
0 (UTC)' ,how can i get it ?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

get the min date from a list luofeiyu <elearn2014@gmail.com> - 2014-08-10 00:14 -0700

csiph-web