Python‎ > ‎time‎ > ‎

time.ctime

http://www.adilwaseem.com/

Return
The method return the local time.

Syntax
ctime(seconds) -> string

Parameters
N/A

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

Example
The method return the local time.
>>>import time
>>> time.ctime()
'Fri Jan 30 21:13:49 2015'
>>>

Comments