You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
191 B
Python
4 lines
191 B
Python
5 years ago
|
from time import gmtime, strftime
|
||
|
import time
|
||
|
print("\nGMT: "+time.strftime("%a, %d %b %Y %I:%M:%S %p %Z", time.gmtime()))
|
||
|
print("Local: "+strftime("%a, %d %b %Y %I:%M:%S %p %Z\n"))
|