__asctime__
- :
str =asctime(tm_struct)¶ Convert a time structure to a string using the following format:
"ddd mmm mm HH:MM:SS yyyy\n".For example:
asctime (localtime (time ())) ⇒ "Mon Feb 17 01:15:06 1997\n"This is equivalent to
ctime (time ()).