My guess is you check in about one minute prior to boarding
The earlier post is correct - you can validate starting at 12:01 AM on the day of the Regionale journey.
However, once you validate, the ticket cannot be changed, so better to wait until at least the morning of the journey.
Your four hour window starts with the departure time of the Regionale train. In the case of a connection, if the arriving train was late, you would have four hours to take a later Regionale train if you missed the scheduled one.
There are some concerns regarding connectivity and validation - if you don't have cell/data service, is best to validate while connected to wi-fi in the morning.
Once the ticket is validated, a green bar will be displayed.