JavaScript Logic

Use advanced logic through JavaScript
Use advanced logic through JavaScript

Read more ›

Flow cards

When...

JavaScript Logic
Date and month becomes Date number Month

And...

JavaScript Logic
Is Date one before Date two
i
Day-Month-Year (Separator can be '-', '.', or '/')
JavaScript Logic
Is DateTime one before DateTime two
i
Day-Month-Year (Separator can be '-', '.', or '/') HH:mm (Separator can be ':', or '.')
JavaScript Logic
Day and month is between Date number oneMonth one and Date number twoMonth two
i
When second day and month is earlier than the first day and month, it is considered to be next year
JavaScript Logic
Date number is between Date number one and Date number two
i
When second date number is earlier than the first date number, it is considered to be next month
JavaScript Logic
Random (true|false)
i
This will randomly be true or false
JavaScript Logic
Month is between Month one and Month two
i
When second month is earlier than the first month, it is considered to be next year
JavaScript Logic
value1 is between value2 and value3 (includes: Is values included?)
i
True if value1 is between value2 and value3
JavaScript Logic
Is Time one before Time two
i
HH:mm (Separator can be ':', or '.')
JavaScript Logic
Value contains one of Array items split by ';'? Case sensitive (Check as case sensitive?)
i
Does [value] contain [one of items]?
JavaScript Logic
Is Value empty
JavaScript Logic
Is Value exactly one of Array items split by ';'? Case sensitive (Check as case sensitive?)
i
Is [value] exactly [one of items]?
JavaScript Logic
Is length of Text value less than Max length
JavaScript Logic
Is "weekday" one of Monday;Friday
i
Is "weekday" [one of items]? Array items split by ';'

Then...

JavaScript Logic
Get date and time Amount ... ahead in Format, like 'MM-DD-YYYY HH:mm:ss' format

Support

Having an issue with this app? Contact the developer here.

What's new

Version 1.5.6 — Dependency updates. Clean up

View changelog

JavaScript Logic

JavaScript Logic is not compatible with the selected Homey.

JavaScript Logic will install on Homey shortly.
Install App