Skip Navigation
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

The most performant timestamp functions in Python

www.dataroc.ca The most performant timestamp functions in Python

We explore different ways of getting the current timestamp in Python and profile their respective execution times.

The most performant timestamp functions in Python

Is time.time() the fastest? What if you need a datetime object: datetime.now(), datetime.utcnow()? Let's find out!

0
0 comments