Top "Time" questions

How to get the seconds since epoch from the time + date output of gmtime()?

How do you do reverse gmtime(), where you put the time + date and get the number of seconds? I have …

python datetime time
Convert seconds to HH-MM-SS with JavaScript?

How can I convert seconds to an HH-MM-SS string using JavaScript?

javascript date time date-format time-format
How to delete last item in list?

I have this program that calculates the time taken to answer a specific question, and quits out of the while …

python time python-3.x
how to sync windows time from a ntp time server in command

I am working on windows 7. I can sync time of win7 from a ntp linux server manually. How can I …

windows time ntp
How do you calculate program run time in python?

How do you calculate program run time in python?

python time runtime
Python speed testing - Time Difference - milliseconds

What is the proper way to compare 2 times in Python in order to speed test a section of code? I …

python datetime time time-measurement
In Python, how do you convert seconds since epoch to a `datetime` object?

The time module can be initialized using seconds since epoch: >>> import time >>> t1=time.…

python datetime date time epoch
Difference between datetime and timestamp in sqlserver?

What is the difference between Timestamp and Datetime SQL Server? I thought Both formats are capable of storing date + time. …

sql sql-server date time
What is the easiest way to get current GMT time in Unix timestamp format?

Python provides different packages (datetime, time, calendar) as can be seen here in order to deal with time. I made …

python time unix-timestamp
time.sleep -- sleeps thread or process?

In Python for *nix, does time.sleep() block the thread or the process?

python multithreading time sleep python-internals