Hi,

m cofused how to convert GST/GMT in to IST time format in php

plz help me asap.

thanx

    hi,

    my server is using GMT/GST time format
    m use thistime for support

    so in mail m getting American time

    i wnt to convert it into INDIAN time format via PHP

    thanx

      hi,

      query solved

      using code
      <?php echo date('Y-m-d H:i:s',strtotime('+570 minutes')); ; ?>

        Or perhaps:

        date_default_timezone_set('Asia/Kolkata');
        echo date('Y-m-d H:i:s');
          Write a Reply...