Retrieve and send an Event time in a message

I would like with an automation to send in repetitive message (1 hour for ex) including the the “time” at which i have active my waterswitch
i don’t know how to capture the initial time and resent it at each message time
of course i’ve thought to create a variable but i couldnt achieve that