March 2003
Intermediate to advanced
656 pages
39h 30m
English
DateTime, Date, Timestamp
DateTime(year,month=1,day=1,hour=0,minute=0,second=0.0)
Creates and returns a
DateTime instance representing the given absolute
time. Date and Timestamp are
synonyms of DateTime.
day can be less than 0
to denote days counted from the end of the month:
-1 is the last day of the month,
-2 the next to last day, and so on. For example:
print mx.DateTime.DateTime(2002,12,-1) # prints: 2002-12-31 00:00:00.00
second is a floating-point value and can
include an arbitrary fraction of a second.
Read now
Unlock full access