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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ashish
Posts: 9
Joined: 10 Mar 2008, 12:37

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

Post 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?
seiji
Posts: 15
Joined: 03 Nov 2007, 09:43
Location: Chiba, Japan

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

Post 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';
Post Reply