Posted By

tclancy on 05/12/09


Tagged


Versions (?)

Current Date in Python


 / Published in: Python
 

URL: http://www.saltycrane.com/blog/2008/06/how-to-get-current-date-and-time-in/

Always gives me fits.

  1. import datetime
  2. now = datetime.datetime.now()

Report this snippet  

You need to login to post a comment.