How to convert a time object from MS Access database to string

Bill Bell bill-bell at
Fri Sep 7 13:45:56 CEST 2001

"Ng Peng Hwee" <NgPH at> 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 mailing list