Easiest Way to Set Date, Time And Time Zone In Debian

You can set date and time in just one minute in debian operating system. Date and time can create a couple of problems if you are working in a development environment. Many problem will arise like date is not set correct, time is not synchronized with the time zone and so on. There will be a long list of error messages arise in case of incorrect date, time and time zone. There is a simple date command to set date and time in Debian and if you like to set the time zone you just need to issue a single command and you are ready to go. In Debian at system installation time, the system will ask you to enter the time zone but some time you need to change the default one to any other required. check the under given commands for date, time and time zone settings.

Time Zone Settings Command

dpkg-reconfigure tzdata

Date Setting Command

date –set YYYY-MM-DD

date –set 2010-11-13

Time Settings Command

date –set HH:MM:SS

date –set 23:27:30

You would be amazed that date command is being used for both time and date why not there is another command like time but if a single command can do this thing efficiently then there is no need to have another command in the system.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.