Home | Trees | Indices | Help |
|
---|
|
object --+ | Field --+ | DateTimeField
Mapping field for storing date/time values.
>>> field = DateTimeField() >>> field._to_python('2007-04-01T15:30:00Z') datetime.datetime(2007, 4, 1, 15, 30) >>> field._to_json(datetime(2007, 4, 1, 15, 30, 0, 9876)) '2007-04-01T15:30:00Z' >>> field._to_json(date(2007, 4, 1)) '2007-04-01T00:00:00Z'
Instance Methods | |
Inherited from Inherited from |
Properties | |
Inherited from |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 15 16:22:43 2010 | http://epydoc.sourceforge.net |