[Haizea] DateTime Datatypes
Mehdi Sheikhalishahi
mehdi.alishahi at gmail.com
Sat Jun 12 00:06:55 CDT 2010
Hi,
Which types Lease's duration can be of? int, DateTime,?
I am confused in working with DateTimes in python.
I want to multiply duration with a float number, and then round it and
finally set it back to duration.
duration = floatNumber *
Parser.DateTimeDeltaFromString(element.find("duration").get("time"))
Regards,
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20100612/570b7a7f/attachment.htm
More information about the Haizea
mailing list