[Python-de] mysqldb-module
Matthias Wiehl
dexter at socha.net
Sun Apr 6 05:11:43 EDT 2003
"Stephan Bothur" <teccco at web.de> writes:
> PS: koenntet ihr mir gleich mal die function nennen fuer python die
> mir ein datum wie folgt ausgibt : YYYY-MM-DD ?
Python 2.1.3 (#1, Sep 7 2002, 15:29:56)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strftime('%Y-%m-%d', time.localtime())
'2003-04-06'
More information about the Python-de
mailing list