How to change date and time in Ubuntu?
To change the date and time settings, follow the steps below.
Step 1: Press the Window key in the keyboard. In the search bar, type as system settings and hit enter.
Step 2: In System Settings window, select Date and Time icon under System.
Step 3: Date and Time window opens, disable the Network Time to set the date and time.
Click the upward or downward arrow keys to set the time.
Click the (+)plus or (-)minus to adjust the date and year. Use the down arrow key to change the month.
Set time format:
You can set the time format for 24-hour or 12-hour (AM/PM) by disabling or enabling the radio buttons near the time format.
You are required to provide the root user password to change the date/time of the system. If the account is locked, click unlock icon and provide the password to set the time and date.