![NetApp FAS25 Series Manual Download Page 10](http://html1.mh-extra.com/html/netapp/fas25-series/fas25-series_manual_1669948010.webp)
Resetting the date and time on the system
After you reconnect the battery and reboot Data ONTAP, you must check the date and time on the system and reset them.
Steps
1. Display the current date on the node or nodes by entering the following command:
For...
Issue the command...
7-Mode
date
Note:
If your system is in an HA pair, make sure that you display the date and time on the partner node and set the
target node to those values.
Cluster-Mode
system date show
Note:
Make sure that you display the date and time on the other nodes in the cluster and set the target node to those
values.
2. Set the date by entering the following command:
For...
Issue the command...
7-Mode
date [-u] [[[CC]yy]mmddhhmm>[.<ss>]]
-u
sets the date and time to Greenwich Mean Time instead of the local time.
CC
is the first two digits of the current year.
yy
is the second two digits of the current year.
mm
is the current month. If the month is omitted, the default is the current month.
dd
is the current day. If the day is omitted, the default is the current day.
hh
is the current hour, using a 24-hour clock.
mm
is the current minute.
ss
is the current second. If the seconds are omitted, the default is 0.
Cluster-Mode
system date modify -node node_name -date date_and_time
node_name
is the target node.
date_and_time
is the date and time setting for the node, in the format MM/DD/YYYY HH:MM:SS.
Note:
The
Data ONTAP System Administration Guide for 7-Mode or the Clustered Data ONTAP System Administration
Guide for Cluster Administrators contains more information about setting the system date and time.
Example
The following command sets the date and time to 22 May 2014 at 9:25 a.m. on a system operating in 7-Mode:
date 201405220925
Example
The following command sets the date and time to 22 May 2014 at 9:25 a.m. on a system running clustered Data ONTAP:
system date modify -node system1 -date "05/22/2014 09:25:00"
10
Replacing an RTC battery