This script is usually sufficient:
Code:
// checks if the input value is null
if (isNaN(Date.parse(value))) { return 0; }
// checks if the input value is null
if (isNaN(Date.parse(value))) { return 0; }
dayofweek()=1 $ time()=080000
Cannot add trigger Invalid parameter "/1/expression": incorrect expression starting from "$ time()=080000". [triggers.php:300