Timestamp

Alex Mandel <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
So I was looking at an old post where someone used

Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] on
Pocket PC
 >>> >>> import time
 >>> >>> clock=time.clock()
 >>> >>> local=time.localtime(clock)
 >>> >>> local
(2004, 2, 27, 10, 14, 41, 4, -1, -1)

When I tried to repeat that on my Dell Axim X5 and on the Desktop 
Emulator I always get
(1969,12,31,17...
Any idea how to actually get the time.
All I need is string that has mmddyy like 071806

I tried:
import time
from time import strftime
strftime("%m%d%y",gmtime())
and got and error
NameError: name 'gmtime' is not defined
if I throw in local from the above code it works except its not the 
current time its the default microsoft time.

Any ideas? Thanks -
Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.