following step to change date and time on your debian system by using terminal.
1. Open terminal and log in into root by type “su” without quote then enter and input your root password to change date and time you must login as root.
2. If you enter “date” without quot in terminal you will get date like this “Thu Oct 29 21:10:09 ICT 2009″
3. Change date and time by using
date nnddhhmm[[cc]yy][.ss]
where
- nn = month of the year (01 to 12)
- dd = day of the month (01 to 31)
- hh = hour of the day (00 to 23)
- mm = minute of the hour (00 to 59>
- cc = The first to digits of the year
- yy = The last two digits of the year
- .ss = The seconds
Example: date 10292120[[20]09][.00]
Reference: http://www.go2linux.org/how-to-set-the-date-and-time-in-linux
Advertisement