AbanteCart Community

General Topics => General Discussion => Topic started by: kwong on March 26, 2014, 04:20:35 PM

Title: How to: Display time and date in home page?
Post by: kwong on March 26, 2014, 04:20:35 PM
Hi guys,

I am looking for a way to display live time and date on my home page. How can I do this?

Thanks.
Title: Re: How to: Display time and date in home page?
Post by: abantecart on March 26, 2014, 11:21:21 PM
You can add a JavaScript in the head or header.

Check this post with some JavaScript examples
http://stackoverflow.com/questions/18536726/javascript-to-display-the-current-date-and-time
Title: Re: How to: Display time and date in home page?
Post by: Basara on March 27, 2014, 03:37:52 AM
Hi guys,

I am looking for a way to display live time and date on my home page. How can I do this?

Thanks.

Hi. Create HTML block (http://www.abantecart.com/ecommerce-documentation/42-admin-user-manual/design/blocks-user-manual) and enable it on Home page layout (http://www.abantecart.com/ecommerce-documentation/41-admin-user-manual/design/layout).
Grab free clock code from here http ://24timezones.com/online_clock.php
Title: Re: How to: Display time and date in home page?
Post by: kwong on March 27, 2014, 01:27:43 PM
Thanks guys, it works! Appreciate your replies very much. Cheers!!