Hi!
We are tryint to access time data stored in an SQL The query returns a
date object of type DbiDate. When printed, we get a nicely formatted
text date. If cast into a float or int, you get the number of seconds
elapsed since 1/1/1970. The way we are dealing with the conversion
from this format into MPL format is:through time.strptime (using a
format string), then converting that into a datetime object, and
finally invoking MPL's date2num.

Is there a better, quicker more obvious way to accomplish this?

Thanks!
Jose

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to