How to create a section that displays the current time and timezone?

How to create a section that displays the current time and timezone?

How to create a section that displays the current time and timezone?

This is Noah from PageFly - Shopify Page Builder App

You can create section have current time and timezone by add code here:

  1. Create section liquid/html

  2. Add code here and change code (color, background, font-size…)


Hope my solution will help you resolve the issue.

Best regards,

Noah | PageFly

No, your code is not good. Using so many functions and variables in such a simple section is a waste of resources

Hi @mountainsap I’m sorry about that.Thank you for response. I mean you can use theme options if your theme allows to display current time and timezone, or you can use liquid code + javascript to display it. Because it is a string, we need to add the parameters together, so it is long. If could optimize it in another way I think that would be even better.

I apologize that my previous post didn’t fully convey my thoughts. I would like to create another post that is more complete.

Thank you.