Set timezone on UBUNTU linux server 2 comments

In UBUNTU Linux server if you want to set TIMEZONE for server.
Following two methods (in shell prompt)
this will allow to select timezone as you need
you need to enter respective digits for particular region.


$export TZ=’Asia/Calcutta’ (for india)
$export TZ=’America/New_York’ (for US)
$export TZ=’US/Central’ (for US/Central)
this works fine in UBUNTU.
Then you need to restart apache.

Share on Facebook

About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools

2 thoughts on “Set timezone on UBUNTU linux server