Regex with date and time

57 views
Skip to first unread message

klaus

unread,
Sep 15, 2013, 8:19:59 PM9/15/13
to comman...@googlegroups.com
What's the Regex (or JS) for this:
Command value to send command x if it was Monday to Friday between 10 am and 5 pm, command y if it was Saturday, and no command if it was Sunday.

Klaus

Jarrod Bell

unread,
Sep 16, 2013, 12:43:18 AM9/16/13
to comman...@googlegroups.com
There is no regex for this, unless you have some system sending the date information back to you.

Otherwise, look into external date libraries for JS such as the one used in our Date example on github:
https://github.com/CommandFusion/DemoUserInterfaces/tree/master/DateTime-StatusBar

Regards,

Jarrod Bell
CommandFusion
www.commandfusion.com


--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages