Jump to content
  • 0

Need guide to change timezone on FluxCP


Question

Posted

Hello. i need help regarding timezone. my fluxcp shows Philipines Time.
i changed this - > 'DateDefaultTimezone' => 'Asia/Calcutta',

still not not changing

please help thanks in advance

3 answers to this question

Recommended Posts

  • 0
Posted

From this http://php.net/manual/en/timezones.asia.php#113195

I've tested "Asia/Calcutta" as well as "Asia/Kolkata" on PHP 5.4.7 and both returns accurate results. 
 
But I would suggest you to use "Asia/Kolkata" as "Calcutta" is now renamed to "Kolkata". 
 
<?php 
    date_default_timezone_set("Asia/Kolkata"); 
    echo date('d-m-Y H:i:s'); //Returns IST 
?>

[spoiler=Just for knowledge for others who read]

https://en.wikipedia.org/wiki/Kolkata

https://en.wikipedia.org/wiki/List_of_renamed_Indian_cities_and_states#West_Bengal

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...