In a metaobject I have a date time field. The UI shows the store timezone EDT to the right of the time field. If I select a time in EDT that would mean the UTC date is different (e.g. any time 8pm or after means UTC would be the next day, 23rd of August), then when I render the field in liquid the output is incorrect (it is 24 hours off).
Experiencing the same. Although we’re using a DateTime metafield set to AEST and it is rendering 11 hours behind. e.g. 7pm renders as 8am the same day.
Having the same issue here with ‘date and time’ metafield. The store time zone is PST. The metafield time selected is noted as PST. When linked to a text field as a dynamic source the output is 8 hours ahead (presumably UTC).
I have come across this issue before when working with date and time fields in Shopify, and it can be confusing at first. The main thing to keep in mind is that Shopify stores metaobject date-time values in UTC, while the admin interface displays them in your store’s timezone.
So if you select a time late in the evening (for example, 8:00 PM EDT), the UTC version is already on the next day. This is why your Liquid output appears to be 24 hours off compared to what you see in the admin.
What has worked for me:
Adjust in Liquid
Use the date filter with a manual offset to account for your store’s timezone before rendering.
Save both UTC and Local Time
Create two metafields — one storing the original local time and another storing the UTC time — so you can choose which to display depending on the context.
Test before going live
Try entering a few times close to midnight in your store’s timezone, then render them in Liquid to confirm the results.
When I was troubleshooting this, I used an external time calculation tool to verify the conversions between local time and UTC. If you work with bookings, shift planning, or any time-sensitive features, I recommend using a quick helper like work time tracker to double-check your offsets and avoid unexpected date changes. It can save you from a lot of head-scratching later.
Regards
M Shozab