Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
date and time
#1
i need to make a code that can convert data inn to numbert like 15,april,1999 but i also need to make it so that i cant put inn 40,april,1999 i need help making a code that vill limit the amount of days inn a month based no how meny days ther are inn that month
Reply
#2
You should read this: strftime-strptime
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
If you are not allowed to use modules because this is homework, please show us what you've tried. Please post your code in Python tags, and clearly explain the problem you are having, including the full text of any errors.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to convert a date and price from a list into appropriate date format & currency SilverLeaf90 1 1,942 Mar-23-2019, 09:41 PM
Last Post: Yoriz
  creating date/time stamp from dataframe values kiki1113 1 2,474 Dec-06-2017, 05:43 PM
Last Post: gruntfutuk

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020