"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Hi, Can I get a system date time?
time.time()
> I want to get current time, like
> the target string should looks like:
> the output of : `date +"%Y%m%d %H:%M:%S"`
>
> how can i do this?
>>> time.strftime("%Y%m%d %H:%M:%S")
'20051111 02:44:19'
>>>
<mike
--
Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
--
http://mail.python.org/mailman/listinfo/python-list