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?
how can i change the 24 hour time format to 12 hour format
Moderators: Developer, Contributor
Re: how can i change the 24 hour time format to 12 hour format
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';