use lastupdate function

General questions about CMSimple
Post Reply
valarno
Posts: 12
Joined: Thu Jan 22, 2009 9:38 am

use lastupdate function

Post by valarno » Mon Mar 09, 2009 10:29 am

Hi,

I would like to obtain the full date of the last update and i use :
#CMSimple $output=preg_replace("/".chr(35)."CMSimple.*".chr(35)."/",lastupdate(),$c[$s]);#

The result is : month and year

Is exist a method to view day, month and year of the last update ?

Thank's for your answer

Arnaud

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: use lastupdate function

Post by Tata » Mon Mar 09, 2009 2:25 pm

Look in your cmsimple/languages/??.php (your language file) for

Code: Select all

$tx['lastupdate']['dateformat']="";
There shaould be something like this

Code: Select all

$tx['lastupdate']['dateformat']="F d. Y H:i:s";
. This shows the lastupdate date: March 06. 2009 11:59:39.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

valarno
Posts: 12
Joined: Thu Jan 22, 2009 9:38 am

Re: use lastupdate function

Post by valarno » Mon Mar 09, 2009 4:09 pm

thank you Tata, your answer is exactly what i'm looking for !

Post Reply