Skip to content

Add %epoch% to the system variables #1131

@kluszczyn

Description

@kluszczyn

I would like to propose the addition of a system variable %epoch% defined as numbers of seconds that have elapsed since midnight 1970-01-01, UTC.

Having system variable with a numeric time value (epoch) would allow sending epoch values to controllers like OpenHAB for further easy manipulating/converting into a desirable format and also for easy use in rules/time calculations.

Metadata

Metadata

Assignees

Labels

Category: RulesRelated to the rule engineStatus: FixedCommit has been made, ready for testingType: Feature RequestAdd a completely new feature (e.g. controller/plugin)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions