Top "Strptime" questions

`strptime` reads the time from the string s using the timeformat specifiers and converts it into seconds since the year 2000.

python convert datetime formatted string to seconds

I am trying to decode a date string to epoch but I have difficulties getting the timezone. This is the …

python datetime epoch strptime
python datetime strptime wildcard

I want to parse dates like these into a datetime object: December 12th, 2008 January 1st, 2009 The following will work for …

python datetime parsing strptime
Converting datetime from character to POSIXct object

I have an instrument that exports data in an unruly time format. I need to combine the date and time …

r datetime date-formatting posixct strptime
Python- strptime ValueError unconverted data remains: :00

I have a .csv file with a column that have dates which looks like "2/15/2016 1:44:00 PM",am running into following error …

python csv strptime
Applying strptime function to pandas series

I have a pandas DataSeries that contains a string formatted date in the form of: 2016-01-14 11:39:54 I would like …

python pandas strptime
datetime TypeError: 'datetime.datetime' object has no attribute '__getitem__'

What am I doing wrong here? import datetime someday = datetime.datetime(2014, 9, 23, 0, 0) someday = datetime.datetime.strptime(someday[:10], '%Y-%m-%d') …

python python-2.7 strptime
AM/PM string is not properly recognized by strptime

I have encountered something unexpected while working with the function strptime(). The format of the date I have consists of "1/22/2013 11:00:00 …

r strptime
How do I plot only the time portion of a timestamp including a date?

So I have a set of timestamps like this: datetime<-c("2011-09-28 03:33:00", "2011-08-24 13:41:00", "2011-09-19 16:14:00", "2011-08-18 11:01:00", "2011…

r timestamp strptime ggplot2
TypeError: strptime() argument 1 must be string, not float

Good morning! I have a series of events with associated dates. The event dates are stored as a series of …

python string datetime matplotlib strptime
How to parse timezone with colon

Is there a way to parse timezone in "+00:00" format with datetime.strptime? For instance: Python 3.4.3 (v3.4.3:9b73f1c3e601, …

python string datetime strptime