python-dateutil Questions
2
Solved
I have a date which is in local time:
date: "2013-12-02 22:00:00"
and another value the tz:
timezone_offset: "GMT-0800"
If I : dateutil.parser.parse(date).isoformat() I will get:
"2013-12-02...
Circumsolar asked 12/11, 2013 at 14:54
4
Solved
I am trying to run a program using paster serve, but I keep getting the error:
ImportError: No module named dateutil.relativedelta
I am running Python version 2.6.7 and dateutil version 1.5, s...
Smelser asked 7/12, 2011 at 16:19
4
I'm using python's dateutil.parser tool to parse some dates I'm getting from a third party feed. It allows specifying a default date, which itself defaults to today, for filling in missing elements...
Meaty asked 8/12, 2011 at 17:13
1
Solved
I am getting a response from the rest is an time format like
ScheduleDate = "\/Date(1374811200000-0400)\/"
StartTime = "\/Date(-2208931200000-0500)\/"
How could I convert the above time to...
Excipient asked 4/8, 2013 at 4:9
1
Solved
dateutil.parser is used to parse a given string and convert it to a datetime.datetime object. It handles ambiguous dates, like "2-5-2013," by allowing dayfirst and yearfirst parameters to give prec...
Cheadle asked 3/8, 2013 at 3:50
1
Solved
The following:
>>> from dateutil.parser import parse
>>> parse("2013-07-02 00:00:00 -0000")
datetime.datetime(2013, 7, 2, 0, 0, tzinfo=tzutc())
shows that the time should be 1...
Pleiades asked 2/7, 2013 at 18:24
0
I am using the rrule method from python-dateutil package. I would like to create a rule that can ignore dates that are within a holiday calendar. I know about the exdate() method but this seems to ...
Supersaturate asked 13/5, 2013 at 11:53
2
Ok, totally newbie to programming and python. Running Windows 7, python 2.7 x64.
I am trying in install dateutil package using pip.
I installed pip, numpy and pandas... which were pretty str...
Torbernite asked 1/5, 2013 at 7:53
1
Solved
I have an issue comparing outputs with dateutil and pytz. I'm creating a aware datetime object (UTC) and then converting to a given time zone, but I get different answers. I suspect that dateutil s...
Cade asked 19/12, 2012 at 2:27
1
Solved
I'm parsing datetimestamps using python dateutil, but would like to avoid the extra dependency. So Is there a way to do the equivalent with the standard python library:
dateutil.parser.parse("2012...
Outthink asked 10/12, 2012 at 15:13
2
How can I parse dates (with dateutil) without a year so that when the current date is 17/11/2012 these dates will be parsed like this:
print parser.parse("23 nov", dayfirst=True, yearfirst=False, ...
Theocritus asked 17/11, 2012 at 10:4
1
Solved
I am using python-dateutil for parsing a date from a string:
import dateutil.parser
print dateutil.parser.parse('some null string', fuzzy=True).date()
2012-10-18
print dateutil.parser.parse('some ...
Lickerish asked 18/10, 2012 at 17:47
3
Solved
Does dateutil rrule support DST and TZ? Need something similar to iCalendar RRULE.
If not - how to tackle this problem (scheduling recurring events & DST offset change)
Imports
>>> ...
Tollbooth asked 19/9, 2012 at 23:25
1
Solved
I'm sure there's a really simple solution to this, but I'm still fairly new to Python.
I'm trying to use dateutil.parser.parse() to parse a string with a timestamp in it:
>>> import date...
Humidifier asked 18/10, 2011 at 8:38
2
Solved
I am attempting to parse the following date strings obtained from email headers:
from dateutil import parser
d1 = parser.parse('Tue, 28 Jun 2011 01:46:52 +0200')
d2 = parser.parse('Mon, 11 Jul 201...
Shumate asked 18/7, 2011 at 7:39
© 2022 - 2024 — McMap. All rights reserved.