Is there a way to check for a day of week in the user input task using the date

Is there a way to check for a day of week in the user input task using the date picker on a date and time field? I need a javascript that can be used as part of an Event Rule for a date and time field. Something like:

If the datetime field is a Saturday or Sunday - show the message field, else hide the message field. I'm not using SAIL. I'm using the process modeler - designer portal.

OriginalPostID-175606

OriginalPostID-175606

  Discussion posts and replies are publicly visible