Skip to main content
NetApp Knowledge Base

How to validate the time on an ONTAP cluster to match the domain controller in UTC

Last Updated:


Applies to

  • ONTAP 9
  • Microsoft Active Directory Domain Controller (DC)


The following article describes how to adjust the cluster time to match the DC time in UTC


  1. From the DC, confirm the time:
    • Using Powershell, run ​​​​​​[System.DateTime]::UtcNow


PS C:\> [System.DateTime]::UtcNow

Wednesday, January 25, 2023 3:49:00 PM

  1. From the ONTAP CLI, adjust the cluster time:
    • From the CLI, run date -u
      • The format of the command follows:   
        • YYYY for the four digital year
        • DD for the two digit day of the month
        • HH for the two digit hour in 24 hour formatting
        • MM for the two digit minute  
        • .SS for the two digit second
      • The following example sets the date to January 25, 2023, 3:49pm
        • Cluster::> date -u 202301251549.00
  2. Confirm the cluster time:
    • From the CLI, run date -u


Cluster::> date -u
Node              UTC Date
----------------- ------------------------
Node1             Wed Jan 25 15:49:00 2023
Node2             Wed Jan 25 15:49:00 2023
2 entries were displayed.


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device