Fotografiona

date_and_time

Nov 7th, 2012
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from datetime import datetime
  2.  
  3. now = datetime.now()
  4.  
  5. current_year = now.year
  6. current_month = now.month
  7. current_day = now.day
  8. x = "/"
  9.  
  10. print str(current_month) + x, str(current_day) + x, str(now.year) + x
Advertisement
Add Comment
Please, Sign In to add comment