Get current date fully in numbers (instead of letter) e.g. 2020-09-15

Here’s a Python thing; every time you push the button (or otherwise trigger the ‘x’ input?), the date/time updates:

import datetime
now = datetime.datetime.now()
Y = now.year
M = now.month
D = now.day
h = now.hour
m = now.minute
s = now.second


time_date_2019Jul8a.gh (5.5 KB)

You can adapt it to get your desired format. I left out the leading zero, though it’s not that difficult…

time_date_2020Sep15a
time_date_2020Sep15a.gh (5.3 KB)