Published
- 1 min read
python get timestamp of today
The solution for this is noted below
python get timestamp of today
Solution
import datetime
ts = datetime.datetime.now().timestamp()
Try other methods by searching on the site. That is if this doesn’t work