Skip to content

SetDate ​

Status VerifiedOpcode103TypeWrite

NOTE

This command ends every schedule window in progress and rebooks each daily schedule from the new date, so a day moved back to runs no schedule until each is edited or re-enabled.

Sets the controller's date and leaves the time of day untouched.

Parameters ​

nametypenotes
yearint
monthbyte
daybyte

Reply ​

Acknowledged only. The controller sends no reply.

Example ​

typescript
await omni.command("SetDate", {
  year: 0,
  month: 0,
  day: 0,
});

Request XML ​

xml
<?xml version="1.0" encoding="UTF-8"?>
<Request xmlns="http://nextgen.hayward.com/api">
  <Name>SetDate</Name>
  <Parameters>
    <Parameter name="year" dataType="int">0</Parameter>
    <Parameter name="month" dataType="byte">0</Parameter>
    <Parameter name="day" dataType="byte">0</Parameter>
  </Parameters>
</Request>

Response XML ​

None.

This software is not produced, endorsed, or supported by Hayward Industries, Inc. “Hayward” and “OmniLogic” are trademarks of their respective owners.