isWeekday v1.0.3

by Dan Dan

Weekend sensor checks whether it is currently weekday (NOT Saturday and Sunday) in the specified time zone and returns TRUE or FALSE
Input arguments are:

  • timeZone, defaults to Europe/Brussels

Possible input for timeZone: Time zones

Raw data:

  • timestamp in UTC milis
  • year
  • month
  • day
  • hours
  • minutes
  • seconds
  • dateString, in format: Mon Jun 29 2015 15:24:59 GMT+0200

Required properties:

  • timeZone

States:

  • TRUE
  • FALSE

Raw data:

  • timestamp (string)
  • year (double)
  • month (double)
  • day (double)
  • hours (double)
  • minutes (double)
  • seconds (double)
  • dateString (double)