Formats a date and time object into a storefront-friendly string. Converts UTC time to the storefront's local time before formatting.
The date and time object to format.
A formatted date and time string. Returns an empty string if the input is null.
Provides methods for formatting date and time objects.