Nov-21-2019, 10:26 AM
this is my python code
dateTimeObj = datetime.now()
timestampStr = dateTimeObj.strftime("%d/%b/%Y:%H:%M:%S")
print'Today Current Timestamp : ', timestampStr
and i want to print last 10 second
like current time - last ten second. can any one tell me how can i do so?
dateTimeObj = datetime.now()
timestampStr = dateTimeObj.strftime("%d/%b/%Y:%H:%M:%S")
print'Today Current Timestamp : ', timestampStr
and i want to print last 10 second
like current time - last ten second. can any one tell me how can i do so?