Snapex7.Client.set_plc_date_time

You're seeing just the function set_plc_date_time, go back to Snapex7.Client module for more information.
Link to this function

set_plc_date_time(pid, opts \\ [])

View Source

Specs

set_plc_date_time(GenServer.server(), [plc_time_opt()]) ::
  :ok | {:error, map()} | {:error, :einval}

Sets PLC date and time. The following options are available:

  • :sec - (int) seconds afer the minute (0..59).

  • :min - (int) minutes after the hour (0..59).

  • :hour - (int) hour since midnight (0..23).

  • :mday - (int) day of the month (1..31).

  • :mon - (int) month since January (1..12).

  • :year - (int) year (1900...).

  • :wday - (int) days since Sunday (0..6).

  • :yday - (int) days since January 1 (0..365).

  • :isdst - (int) Daylight Saving Time flag.

The default is of all functions are the minimum value.