How to change Date update to Current Date

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Aug 01, 2016 8:21 am
Reply with quote
Report this post
Hi,
I want date Update to current Date. Currently its showing 12:00 AM CET, Nov 16, 2013.
i read post from forums about it but they are not relevant to current template version i guess.
please help.

thanks
User avatar
Junior Boarder

teitbite
Fri Aug 05, 2016 2:41 pm
Reply with quote
Report this post
Hi

Please edit file: /layout/blocks/updates.php and change line:

Code: Select all
echo JText::_('TPL_GK_LANG_UPDATE_DATE') . ' ' . date(JText::_('TPL_GK_LANG_UPDATE_DATE_FORMAT'), $final_date);


to

Code: Select all
echo  'Today is ' . date(JText::_('TPL_GK_LANG_UPDATE_DATE_FORMAT'), today());
User avatar
Moderator

GK User
Sat Aug 06, 2016 9:54 pm
Reply with quote
Report this post
thanks teitbite
User avatar
Junior Boarder

teitbite
Tue Aug 09, 2016 1:42 pm
Reply with quote
Report this post
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator

GK User
Wed Jan 11, 2017 12:04 pm
Reply with quote
Report this post
Hi and thank you for the help
It would be possible to change the language of the months
Where can I make that change?
I have my language installed in the joomla, but this one is in english, It´s possible?
I mean this specifically, the update date
Thank so much
Regards
User avatar
Fresh Boarder

teitbite
Sun Jan 15, 2017 11:55 am
Reply with quote
Report this post
Hi

This particular example is using PHP, so language of months are taken from server setting. You will have to change it there.
User avatar
Moderator


cron