-
AuthorPosts
-
June 25, 2015 at 6:39 am #207830
Hi ,
Header date is not changing. Can you suggest me on this. Please find the attached snapshot for your reference. Today’s date is 25 JUN but still it is showing 24 JUN.
Just to share, i am in INDIA region.
Thanks
Navam
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 25, 2015 at 9:44 am #575482Hi there
It’s based on server time
<div class="col calendar">
<div class="col-inner">
<span class="number date"><?php echo date('d') ?></span>
<div class="text">
<span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
</div>
</div>
</div>
Thank you,
Viet VuJune 25, 2015 at 12:20 pm #575508Hi @Vu,
Any chance to display the date based on the User locale? i.e.
If CHINDA user accessing the site then Current Date in CHINA should display.
If USA user accessing the site then Current Date in USA should display.
If INDIA user accessing the site then Current Date in INDIA should display.Thanks
Navam.June 25, 2015 at 12:20 pm #641838Hi @Vu,
Any chance to display the date based on the User locale? i.e.
If CHINDA user accessing the site then Current Date in CHINA should display.
If USA user accessing the site then Current Date in USA should display.
If INDIA user accessing the site then Current Date in INDIA should display.Thanks
Navam.June 25, 2015 at 12:20 pm #740500Hi @Vu,
Any chance to display the date based on the User locale? i.e.
If CHINDA user accessing the site then Current Date in CHINA should display.
If USA user accessing the site then Current Date in USA should display.
If INDIA user accessing the site then Current Date in INDIA should display.Thanks
Navam.jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 30, 2015 at 4:10 am #575862Hi there
To do that you’ll need use js . At moment it’s not ready on this template.
Thank you,
Viet VuAuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by navamhyd 9 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Date is not changing in the Header Calender
Viewing 6 posts - 1 through 6 (of 6 total)