Python Forum

Full Version: date and time
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
You should read this: strftime-strptime
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.