How to save current date and time?

I’d start with this?

date_time

Oh, wait… Time is fixed to the moment you first put it on the canvas and doesn’t change. Kind of useless, isn’t it. :frowning:

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)

2 Likes