CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Date format ... Help Needed
https://forum.cmsmadesimple.org/viewtopic.php?f=23&t=8439
Page 1 of 1

Author:  chintansoni [ Tue Nov 28, 2006 6:23 pm ]
Post subject:  Date format ... Help Needed

Hi there,
First of all thanks a bunch for making this great CMS.

I would like to know, how do I change default date format? Which is appearing in content?

I have put “Updated Content” tag on my home page but the date which it is showing is something like “Modified: 2006-11-26 10:49:45”

But I want it to be appeared as “Modified: 26-Nov-2006” and time as “10:49:45 am/pm” if possible.

Please guide me how do I do it, it’s my humble request.

Thank a billion in advance

Clinton

Author:  cyberman [ Wed Nov 29, 2006 5:56 am ]
Post subject:  Re: Date format ... Help Needed

chintansoni \chintansoni:
I have put “Updated Content” tag


Hmm, can't found such a tag in deefault install  ::) ...

\$1:
But I want it to be appeared as “Modified: 26-Nov-2006” and time as “10:49:45 am/pm” if possible.


Or do you mean something like this?

{modified_date format="%d-%b-%y %r"}

Author:  chintansoni [ Wed Nov 29, 2006 7:15 pm ]
Post subject:  Re: Date format ... Help Needed

I have this tag in my CMS "{recently_updated number='5'}"

but the date which appearing is in “Modified: 2006-11-26 10:49:45” this format... But I want it to be appeared as “Modified: 26-Nov-2006” and time as “10:49:45 am/pm” if possible.

Or whenever I add any new content or just anything, the date which goes in to datebase should go in "DD-MM-YYYY" format, I mean timestamp should be in this "DD-MM-YYYY" format

Please guide me how to I do this?

Thank a lot for your reply,

Author:  cyberman [ Thu Nov 30, 2006 10:05 am ]
Post subject:  Re: Date format ... Help Needed

chintansoni \chintansoni:
I have this tag in my CMS "{recently_updated number='5'}"


Upps, never used this plugin  ;D .

\$1:
Please guide me how to I do this?


Please try my "advanced" version - works for me  :).

(delete suffix .txt, unzip it and copy it to plugins directory)

[gelöscht durch Administrator]

Author:  chintansoni [ Thu Nov 30, 2006 4:46 pm ]
Post subject:  Re: Date format ... Help Needed

hey man.. this worked great.... thanks a million... billion...

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/