On Tue, Apr 29, 2008 at 11:38 AM, Johan Mazel <[EMAIL PROTECTED]> wrote: > Ok. > I manage to get either time or date but not both inside the same object . > And I don't know how to use plot with two object (one for the time and the > other for the date).
you can get the date and time into a datetime object as follows: import datetime dt = datetime.datetime(2008,4,22,3,45,21) print dt.strftime('%Y-%m-%d %H:%M:%S') ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users