Commerce Commerce 1.x Class Reference Formatters datetime
datetime formatter takes in a unix timestamp (e.g.
1584964242) and returns a full date/timestamp. Frequently used for timestamps.
server_offset_time setting is taken into account. You can use this if your server time is different from the current time.
The format used is set in the
commerce.datetime_format system setting, uses strftime, and defaults to
%Y-%m-%d at %H:%M:%S %Z.