diff --git a/script/test-time.py b/script/test-time.py index 41fd28d..823a247 100644 --- a/script/test-time.py +++ b/script/test-time.py @@ -59,4 +59,8 @@ ticks = time.time() print "Number of ticks since 12:00am, January 1, 1970:", ticks #print time_str; localtime = time.asctime( time.localtime(time.time()) ) -print "Local current time :", localtime \ No newline at end of file +print "Local current time :", localtime + +from datetime import datetime +dt = datetime.now() +dt.microsecond