getWeekDay v1.0.5

WeekdaySensor returns the current day for a specific time zone.

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:

  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday

Raw data:

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