How to convert a time object from MS Access database to string
bill-bell at bill-bell.hamilton.on.ca
Fri Sep 7 13:45:56 CEST 2001
"Ng Peng Hwee" <NgPH at sg.fujitsu.com> wrote, in part:
> How I can convert a time object read from the MS Access
> Database to a string.
To set use:
Fields ( "theTime" ).Value = pywintypes.Time ( time.localtime ( ) )
To get use:
Fields ( "theTime" ).Value.Format ( )
I forget what arguments are available for 'Format'.
More information about the Python-list