From anaxauta at autistici.org Wed Feb 1 10:46:44 2017 From: anaxauta at autistici.org (anaxauta at autistici.org) Date: Wed, 01 Feb 2017 15:46:44 +0000 Subject: [Python-hu] =?utf-8?q?timestamp_beilleszt=C3=A9se?= In-Reply-To: References: Message-ID: <64a15ff257a490044541273182801064@autistici.org> > timestamp = datetime.datetime(*(2017,01,30,20,22,51,41608)).isoformat() timestamp = datetime.datetime(*(2017,01,30,20,22,51,41608)).strftime("%Y-%m-%d %H:%M:%S.%f") a továbbiakhoz többi "format string directive", azaz `%Y`, `%m` és barátaik: https://docs.python.org/2/library/time.html#time.strftime