I am trying to display Indian time in a text box using PHP , my script is working but there is no 'AM' or 'PM' . I am getting the time with AM or PM when i am using echo statement . Help me please .....
this is the screen shot - [img]http://i25.tinypic.com/dphmjo.png[/img]
<body>
<?php
$time_now = mktime( date('h')+5, date('i')+30, date('s') );
$gmt1 = date('h:i:s A', $time_now);
echo $gmt1;
?>
<br>
<br>
<input name="textfield" type="text" disabled="True" value= <?php echo $gmt1; ?> >
</body>