Gabriel Genellina wrote:
En Tue, 16 Mar 2010 20:31:11 -0300, Josh English
escribió:
On Mar 16, 11:56 am, Jordan Apgar wrote:
here's what I'm doing:
date = "2010-03-16 14:46:38.409137"
olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
Due to circumstances, I'm using Python 2.5.
En Tue, 16 Mar 2010 20:31:11 -0300, Josh English
escribió:
On Mar 16, 11:56 am, Jordan Apgar wrote:
here's what I'm doing:
date = "2010-03-16 14:46:38.409137"
olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
Due to circumstances, I'm using Python 2.5.4 on one machine (2.6 on
th
On Mar 16, 11:56 am, Jordan Apgar wrote:
> here's what I'm doing:
> date = "2010-03-16 14:46:38.409137"
> olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
>
Due to circumstances, I'm using Python 2.5.4 on one machine (2.6 on
the other).
When I have a script as simple as this:
import d
Jordan Apgar wrote:
Hey all,
I'm trying to convert a string to a date time object and all my fields
convert except for month which seems to default to january.
here's what I'm doing:
date = "2010-03-16 14:46:38.409137"
olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
print date
print o
On Mar 16, 3:07 pm, Christian Heimes wrote:
> Jordan Apgar wrote:
> > Hey all,
> > I'm trying to convert a string to a date time object and all my fields
> > convert except for month which seems to default to january.
>
> > here's what I'm doing:
> > date = "2010-03-16 14:46:38.409137"
> > olddat
Jordan Apgar wrote:
> Hey all,
> I'm trying to convert a string to a date time object and all my fields
> convert except for month which seems to default to january.
>
> here's what I'm doing:
> date = "2010-03-16 14:46:38.409137"
> olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
>
> pr
Hey all,
I'm trying to convert a string to a date time object and all my fields
convert except for month which seems to default to january.
here's what I'm doing:
date = "2010-03-16 14:46:38.409137"
olddate = datetime.strptime(date,"%Y-%m-%j %H:%M:%S.%f")
print date
print olddate
I get:
2010-03