Product SiteDocumentation Site

3.2. Using the Command Line Tools

Fedora 20 provides command line tools that allow you to configure the date and time both manually and using the NTP protocol.

3.2.1. Changing the Date

To change the system date, type the following at a shell prompt as root:
date +%D -s YYYY-MM-DD
…where YYYY is a four-digit year, MM is a two-digit month, and DD is a two-digit day of the month. For example, to change the date to 2 June 2010, type:
~]# date +%D -s 2010-06-02
You can verify the current settings by running date without any additional argument.