# ntpdate
- [Command Function](#section38494293815)
- [Syntax](#section5503114413387)
- [Parameter Description](#section136934472383)
- [Usage](#section121401651173816)
- [Example](#section3431554203811)
- [Output](#section18638194610115)
## Command Function
This command is used to synchronize system time from the server.
## Syntax
ntpdate \[_SERVER\_IP1_\] \[_SERVER\_IP2_\]...
## Parameter Description
**Table 1** Parameters
Parameter
|
Description
|
Value Range
|
SERVER_IP
|
Indicates the IP address of the NTP server.
|
N/A
|
## Usage
Run the **ntpdate **\[_SERVER\_IP1_\] \[_SERVER\_IP2_\]... command. **ntpdate** obtains and displays the time of the first server with a valid IP address.
## Example
To update the system time, run **ntpdate 192.168.1.3**.
## Output
```
OHOS # ntpdate 192.168.1.3
time server 192.168.1.3: Mon Jun 13 09:24:25 2016
```
The time zone of the board is different from that of the server. Therefore, the displayed time may be several hours different from the obtained server time.