All things Shopify and commerce
Hi, i am wondering if there is any way of adding the date and time to the home page? I have searched for very long, but nothing to find out there. I have seen some stores that have it. I would also like to have a special font, is that possible? Thanks!
Hello @olivervestlund
Would you like to show the time and date according to your time zone ? Can you share the demo site ?
Thanks
Hi, i want it to show the and date for in the timezone of the visitor. Here is a preview: https://r1ew0d5a2qrp2zuf-77159104851.shopifypreview.com
Thanks but can you share the demo site of showing time and date ?
Thanks
For the given site the date and time is a customer setup. So to setup for users location these needs to be hard coded.
Thanks
Ok, so i might just not do it haha 🙂
You can try using liquid date filter:
{{ "now" | date: "%Y-%m-%d %H:%M" }}
Here's some references to look into and play with:
https://www.shopify.com/partners/blog/liquid-date-format
https://shopify.dev/docs/api/liquid/filters#date
I will look into it, thanks!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025