Comment

Comment by BiteCode_dev

The snippets the article give are good to get an UTC datetime or timestamp now.

I'd like to add that if you have any fancy datetime manipulation to do in Python, pendulum (https://pendulum.eustace.io/) is probably your best bet.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton