Skip to content

Add UTC data type support - #49

Merged
RobinBol merged 1 commit into
athombv:masterfrom
Drenso:utc-data-type
Aug 28, 2026
Merged

Add UTC data type support#49
RobinBol merged 1 commit into
athombv:masterfrom
Drenso:utc-data-type

Conversation

@bobvandevijver

Copy link
Copy Markdown
Contributor

ZCL Spec definition:

UTCTime is an unsigned 32-bit value representing the number of seconds since 0 hours, 0 minutes, 0 seconds, on the 1st of January, 2000 UTC (Universal Coordinated Time).
Note that UTCTime does not hold a standard textual representation of Universal Coordinated Time (UTC). However, UTC (to a precision of one second) may be derived from it.

Which means it can be implemented using the default unsigned number converters.

ZCL Spec definition:

> UTCTime is an unsigned 32-bit value representing the number of seconds since 0 hours, 0 minutes, 0 seconds, on the 1st of January, 2000 UTC (Universal Coordinated Time).
> Note that UTCTime does not hold a standard textual representation of Universal Coordinated Time (UTC). However, UTC (to a precision of one second) may be derived from it.

Which means it can be implemented using the default unsigned number converters.
@RobinBol
RobinBol merged commit 680992a into athombv:master Aug 28, 2026
4 checks passed
@bobvandevijver
bobvandevijver deleted the utc-data-type branch August 28, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants