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. Advertising

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. Skip Montanaro

    Re: why not datetime.strptime() ?

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

    Re: why not datetime.strptime() ?

    Joshua Spoerri, Jan 11, 2005, in forum: Python
    Replies:
    1
    Views:
    338
    David M. Cooke
    Jan 11, 2005
  3. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,074
    Smokey Grindel
    Dec 2, 2006
  4. kongkolvyu
    Replies:
    4
    Views:
    491
    Old Wolf
    Jan 4, 2006
  5. Tuomas Vesterinen

    Problems with datetime.datetime.strptime

    Tuomas Vesterinen, May 9, 2009, in forum: Python
    Replies:
    0
    Views:
    887
    Tuomas Vesterinen
    May 9, 2009
Loading...

Share This Page