Country specific date format
Franz Steinhaeusler
franz.steinhaeusler at utanet.at
Fri Oct 8 06:46:49 EDT 2004
Hello,
with following function, i get a human readable date/time format.
mtime = time.strftime(self.timeformat ,time.localtime(st.st_mtime))
However is there a simple solution to get a country specific format:
for example
10/08/2004
and for German:
08.10.2004
I looked in locale class, but I didn't get more wise.
Thank you in advance,
--
Franz Steinhaeusler
More information about the Python-list
mailing list