Mar-07-2019, 12:58 AM
datetime.datetime.strftime()
vs.
time.strftime()
there is a difference in supported formatting. the "%f" specification is supported in the former but not the latter even though time.time() does include fractions of a second (as of 3.5). is there a reason for this apparent inconsistency? i do know there is a way to get the fractional time value and append it to time.strftime() results. but the is awkward.
vs.
time.strftime()
there is a difference in supported formatting. the "%f" specification is supported in the former but not the latter even though time.time() does include fractions of a second (as of 3.5). is there a reason for this apparent inconsistency? i do know there is a way to get the fractional time value and append it to time.strftime() results. but the is awkward.