Skip to content

GetDate ​

Status VerifiedOpcode104TypeRead

Reads the controller's date.

Parameters ​

None.

Reply ​

Opcode1104

GetDateRsp

nametypeunit
yearint
monthint
dayint

Example ​

typescript
const reply = await omni.command("GetDate");

Request XML ​

xml
<?xml version="1.0" encoding="UTF-8"?>
<Request xmlns="http://nextgen.hayward.com/api">
  <Name>GetDate</Name>
</Request>

Response XML ​

xml
<?xml version="1.0" encoding="UTF-8" ?>
<Response xmlns="http://nextgen.hayward.com/api">
  <Name>GetDateRsp</Name>
  <Parameters>
    <Parameter name="Year" dataType="int">2026</Parameter>
    <Parameter name="Month" dataType="int">8</Parameter>
    <Parameter name="Day" dataType="int">25</Parameter>
  </Parameters>
</Response>

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