ui formula fields can use datetime fields. They are just expressed in milliseconds.
So to subtract an hour, you want
{{Datetime__c}} - (1000*60*60)
ui formula fields can use datetime fields. They are just expressed in milliseconds.
So to subtract an hour, you want
{{Datetime__c}} - (1000*60*60)