Python‎ > ‎time‎ > ‎

time.asctime

http://www.adilwaseem.com/

Return
The method convert a time tuple to a string.

Syntax
time.asctime()

Parameters
N/A

Import module
Importing module is required in the Shell window and the Editor window.

Example
Convert the time into string.
 >>>import time
>>> time.asctime()
'Fri Jan 30 20:50:44 2015'
>>>

Comments