Skip to content Skip to sidebar Skip to footer
Showing posts with the label Strptime

Datetime.strptime Strange Behavior

I'm getting the following error on aws virtual machine running python 3.6.8, while on my laptop… Read more Datetime.strptime Strange Behavior

Time.strptime() - Argument 0 Must Be Str, Not Bytes

Obviously I'm aware already that strftime and strptime doesn't like byte strings as paramet… Read more Time.strptime() - Argument 0 Must Be Str, Not Bytes

Speeding Up Datetime.strptime

I am using the following piece of code to extract a date from a string: try: my_date = datetime… Read more Speeding Up Datetime.strptime