Check if your date and time are set correctly under your linux box.
#date
Fri Mar 8 13:40:44 BTT 2013
Set Date:
1. date +%Y%m%d -s "20130308"
Set Time:
1. date +%T%p -s "01:12:30PM"
Check the Hardware Clock
1. hwclock --show
Sync the system date and time with hardware date and time
1. hwclock --systohc
#date
Fri Mar 8 13:40:44 BTT 2013
Set Date:
1. date +%Y%m%d -s "20130308"
Set Time:
1. date +%T%p -s "01:12:30PM"
Check the Hardware Clock
1. hwclock --show
Sync the system date and time with hardware date and time
1. hwclock --systohc
Comments
Post a Comment