From cde48ef8de8c7f760b5c558262b07187d96e8370 Mon Sep 17 00:00:00 2001 From: wirawan Date: Thu, 1 Sep 2011 15:34:03 +0000 Subject: [PATCH] * wpylib.datetime: Date/time related module. --- datetime.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 datetime.py diff --git a/datetime.py b/datetime.py new file mode 100644 index 0000000..528800d --- /dev/null +++ b/datetime.py @@ -0,0 +1,22 @@ +# $Id: datetime.py,v 1.1 2011-09-01 15:34:03 wirawan Exp $ +# +# wpylib.datetime +# Created: 20110901 +# Wirawan Purwanto +# + +""" +wpylib.datetime + +Frequently used date/time related tools. +Do not confuse this with python's core datetime module, which +is not being replaced by this module! +""" + +import sys +import time + + +def date8(): + return time.strftime("%Y%m%d") +