Java script/function to determine what day it is

 1 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
ISO Dan
Basic Member Send Private Message
Posts: 18
Basic Member
We are creating a flow in conjuction with a screen to allow users to kick off a flow at their convenience (without have PFI installed on their computer).  The screen will have selection criteria for M-F and the users will be able to select which days they want to run it on.

The flow itself will run daily and check the appropriate flags to see which days it fully execute.  So basically I need to know what java script function will check what day it is so that I can do a comparison.  Example would be great.

Thank you
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
var day = currentTime.getDay() will return a number 0 through 6 with 0=Sunday

More can be found here: http://www.tizag.com/java...T/javascriptdate.php