Re: Time functions

2007-05-02 Thread Grant Edwards
On 2007-05-02, Matimus <[EMAIL PROTECTED]> wrote: >> I think I have an import misconception. >> >> I use >> import from time localtime, strftime >> t = strftime('%m/%d/%Y %H:%M', localtime()) >> >> This works. How would one use it with the module name pre-pended? > > I would think that wha

Re: Time functions

2007-05-02 Thread Matimus
On May 2, 10:21 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > On May 2, 12:03 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > In <[EMAIL PROTECTED]>, HMS Surprise > > wrote: > > > > I wish to generate a datetime string that has the following format. > > > '05/02/2007 12:46'. The leadi

Re: Time functions

2007-05-02 Thread HMS Surprise
On May 2, 12:03 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, HMS Surprise > wrote: > > > I wish to generate a datetime string that has the following format. > > '05/02/2007 12:46'. The leading zeros are required. > > > I found '14.2 time' in the library referenc

Re: Time functions

2007-05-02 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, HMS Surprise wrote: > I wish to generate a datetime string that has the following format. > '05/02/2007 12:46'. The leading zeros are required. > > I found '14.2 time' in the library reference and have pulled in > localtime. Are there any formatting functions available or

Re: Time functions

2007-05-02 Thread HMS Surprise
On May 2, 12:00 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > I wish to generate a datetime string that has the following format. > '05/02/2007 12:46'. The leading zeros are required. > > I found '14.2 time' in the library reference and have pulled in > localtime. Are there any formatting functions

Time functions

2007-05-02 Thread HMS Surprise
I wish to generate a datetime string that has the following format. '05/02/2007 12:46'. The leading zeros are required. I found '14.2 time' in the library reference and have pulled in localtime. Are there any formatting functions available or do I need to make my own? Perhaps there is something s