The `utc_to_brand` modifier can be used to convert a timestamp or date into a date/time according to the timezone set in the brand settings.
The `utc_to_brand` modifier can be used to convert a timestamp or date into a date/time according to the timezone set in the brand settings.
utc_to_brand
Current date and time (NL: UTC+2):
{{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}} 2023-04-07 09:55:44 (UTC+2)
Date and time based on brand settings (UTC+4)
{{$smarty.now|utc_to_brand}} 2023-04-07 11:55:44 (UTC+4)
{{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'|utc_to_brand}} 2023-04-07 11:55:44 (UTC+4)