Ubuntu 18 LTS server
timedatectl list-timezones | grep -i Asia
sudo unlink /etc/localtime
sudo ln -s /usr/share/zoneinfo/Asia/
timedatectl
change time zone for apache tomcat ( for linux )
edit startup.sh in bin directory and below mentioned line.
export JAVA_OPTS="-Duser.timezone=Asia/Kolkata"
No comments:
Post a Comment