Change date and time
Changes the device's date and time. The HTTP method used is the POST.
POST /set_system_time.fcgi
Parameters
- day (int): Numeric value that represents the day of the month.
- month (int): Numeric value that represents the month of the year. Valid values between 1 and 12.
- year (int): Numeric value that represents the year. Example: 2022.
- hour (int): Numeric value that represents the hours. Valid values between 0 and 23.
- minute (int): Numeric value that represents the minutes. Valid values between 0 and 59.
- second (int): Numeric value that represents the seconds. Valid values between 0 and 59.
Response
- This request has no response.
Request example
Changes the date and time to 21:30 12/10/1983:
$.ajax({
url: "/set_system_time.fcgi?session=" + session,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
day: 10,
month: 12,
year: 1983,
hour: 21,
minute: 30,
second: 00
})
});