Elxis CMS Forum
Support => General => Topic started by: armpouniotis on February 18, 2009, 13:07:21
-
Hi all !
how can i display the date - time in greek in 24 hours format, using php ?
Thank you in advance
Chris
-
Hi armpouniotis, date and time are server issue. So, Your server must have installed your localization (Greek). Like "language Settings" on Windows. :)
-
Hi all !
how can i display the date - time in greek in 24 hours format, using php ?
Thank you in advance
Chris
In Where ?
Which dates/times ?
-
When i am posting new content items
-
Hi armpouniotis, date and time are server issue. So, Your server must have installed your localization (Greek). Like "language Settings" on Windows.
ivan had allready answered ... your server's php needs the greek locale
-
I think you mean want to format the dates ...
There are some options in the language files to format dates/time:
File : /language/greek/greek.gemini.php
DEFINE('_GEM_DATE_FORMLC', "%A, %d %B %Y"); //Note: Uses PHP's strftime Command Format
DEFINE('_GEM_DATE_FORMLC2', "%A, %d %B %Y %H:%M");
The manual for formating the date/time can be find in here :
http://us2.php.net/strftime
:)
-
this is exactly what I mean !
thank you very much !
:)
-
Your welcome :)