Home | Trees | Indices | Help |
|
---|
|
object --+ | Field --+ | DateTimeField
Schema 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 Tue Aug 18 19:00:11 2009 | http://epydoc.sourceforge.net |