Inbetriebnahme
Time functions
NOW()
Returns the current time as a timestamp in seconds since january 1st 1970 (unix date). This
timestamp can be compared to an earlier value to determine how much time has passed.
DAYTIME() of DAYTIME(timestamp)
Returns a 1 if the sun is up and a 0 if the sun is down. When a timestamp is given, this time is
used, otherwise the current time is used.
SECOND() of SECOND(timestamp)
Returns the amount of seconds (0--‐59). When a timestamp is given, this time is used,
otherwise the current time is used.
MINUTE() of MINUTE(timestamp)
Returns the amount of minutes (0--‐59). When a timestamp is given, this time is used, otherwise
the current time is used.
HOUR() of HOUR(timestamp)
Returns the amount of hours (0--‐23). When a timestamp is given, this time is used, otherwise
the current time is used.
DAYOFWEEK() of DAYOFWEEK(timestamp)
Returns the day of the week (1--‐7). When a timestamp is given, this time is used, otherwise the
current time is used. 1 = Sunday, 2 = Monday, .. 7 = Saturday.
DAYOFMONTH() of DAYOFMONTH(timestamp)
Returns the day of the month (1--‐31). When a timestamp is given, this time is used, otherwise
the current time is used.
DAYOFYEAR() of DAYOFYEAR(timestamp)
Returns the day of the year (1--‐366). When a timestamp is given, this time is used, otherwise
the current time is used.
MONTH() of MONTH(timestamp)
Returns the month (1--‐12). When a timestamp is given, this time is used, otherwise the current
time is used.
YEAR() of YEAR(timestamp)
Returns the year, for example "2015". When a timestamp is given, this time is used, otherwise
the current time is used.
KNX Technisches Handbuch 1373-1-8902 / 2CKA001373B8902
│63