Page 1 of 1

how can i change the 24 hour time format to 12 hour format

Posted: 12 Mar 2008, 12:49
by ashish
Hi all,

i am using Time Localisation directive putenv("TZ=Asia/Calcutta" );
but it shows in 24 hour format.
how can i change the 24 hour time format to 12 hour format.

any help?

Re: how can i change the 24 hour time format to 12 hour format

Posted: 19 Mar 2008, 14:55
by seiji
set following to your config_inc.php

Code: Select all

$g_short_date_format    = 'Y-m-d';
$g_normal_date_format   = 'Y-m-d h:i';
$g_complete_date_format = 'Y-m-d h:i T';