Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Get hours, minutes, seconds, and microseconds using time class

# Python program to demonstrate time class
# import the date class
from datetime import time

Time = time(8, 5, 56, 12)

print("hour =", Time.hour)
print("minute =", Time.minute)
print("second =", Time.second)
print("microsecond =", Time.microsecond)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Get #microseconds #time #class
ADD COMMENT
Topic
Name
2+9 =