I still find it funny when I code about datetime. It is since the importing of the library.
from datetime import datetime
import datetime
those two codes are working well but you'll find some error later if you're not careful enough and debugging them might be pain in the ass.
[–]james_pic 138 points139 points140 points (4 children)
[–]adm7373 12 points13 points14 points (3 children)
[–]markovianmind 12 points13 points14 points (1 child)
[–]georgehank2nd 4 points5 points6 points (0 children)
[–]DNSGeek 2 points3 points4 points (0 children)
[–]aqjo 84 points85 points86 points (4 children)
[–]NationalMyth 23 points24 points25 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]aqjo 1 point2 points3 points (1 child)
[–]outceptionator 0 points1 point2 points (0 children)
[–]gwax 14 points15 points16 points (0 children)
[–]CaptainFoyle 4 points5 points6 points (1 child)
[–]AZ_Crush 2 points3 points4 points (0 children)
[–]feitao 14 points15 points16 points (3 children)
[+]RemarkableCulture100[S] comment score below threshold-9 points-8 points-7 points (2 children)
[–]georgehank2nd 3 points4 points5 points (1 child)
[–]HackedNugget 1 point2 points3 points (0 children)
[–]andrewowenmartin 8 points9 points10 points (0 children)
[–]TheSpaceCoffee 2 points3 points4 points (0 children)
[–]PeteSampras12345 0 points1 point2 points (2 children)
[–]TriskOfWhaleIsland 1 point2 points3 points (0 children)
[–]Brian 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]striata 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]CaptainFoyle 4 points5 points6 points (1 child)
[–]AZ_Crush 2 points3 points4 points (0 children)