Saturday, October 26, 2019

Python time vs datetime vs mxDateTime

WHy would I choose to use Python's time vs datetime (and also mxDateTime) when either way you can get the same result? For example,



time.localtime()[7]
datetime.date.today().timetuple()[7]


yields the same, mxDateTime can also produce same result.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...