Login to your system with root user or sudo privilege .
1. Type date to confirm the date
#date
or
$sudo date
Copy the output as shown in image
2. Then set the date as follows
#date -s <your desired date and time>
#date -s "Thu Jan 31 20:11:13 +0545 2019"
or
$sudo date -s "Thu Jan 31 20:11:13 +0545 2019"
Comments
Post a Comment