[Tutor] date conversion

Ray Allen ray.allen at sant.ox.ac.uk
Wed Apr 5 16:07:37 CEST 2006


I would like Python to convert a date returned by MySQL (2006-04-05) to a 
user readable format such as 05-Apr-2006 for display and then to convert it 
back to ISO format for update.  What is the most convenient way of doing 
this?  I'm struggling to understand the datetime module's functionality.
Ray Allen 



More information about the Tutor mailing list