why not datetime.strptime() ?

Discussion in 'Python' started by josh, Jan 7, 2005.

  1. josh

    josh Guest

    Shouldn't datetime have strptime? It already has strftime, and it'd be really
    nice to obviate datetime.fromtimestamp(time.mktime(time.strptime(...)))

    thanks in advance
     
    josh, Jan 7, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christos TZOTZIOY Georgiou
    Replies:
    3
    Views:
    996
    Christos TZOTZIOY Georgiou
    Sep 13, 2003
  2. Skip Montanaro

    Re: why not datetime.strptime() ?

    Skip Montanaro, Jan 7, 2005, in forum: Python
    Replies:
    1
    Views:
    471
    Lee Harr
    Jan 8, 2005
  3. Joshua Spoerri

    Re: why not datetime.strptime() ?

    Joshua Spoerri, Jan 11, 2005, in forum: Python
    Replies:
    1
    Views:
    417
    David M. Cooke
    Jan 11, 2005
  4. mp
    Replies:
    1
    Views:
    649
    John Machin
    Jul 28, 2006
  5. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,800
    Smokey Grindel
    Dec 2, 2006
  6. kongkolvyu
    Replies:
    4
    Views:
    630
    Old Wolf
    Jan 4, 2006
  7. Tuomas Vesterinen

    Problems with datetime.datetime.strptime

    Tuomas Vesterinen, May 9, 2009, in forum: Python
    Replies:
    0
    Views:
    1,014
    Tuomas Vesterinen
    May 9, 2009
  8. Rodrick Brown

    datetime.strptime() not padding 0's

    Rodrick Brown, Apr 23, 2013, in forum: Python
    Replies:
    1
    Views:
    713
    John Gordon
    Apr 23, 2013
Loading...