Scalar. Determines if a given date/time type falls on a weekend.
weekendday ( calendarfile, datevalue )
calendar | A string representing the file path for a calendar file. |
datevalue | A date/time type. |
Determines if a date/time type value falls on a weekend. The function returns 1 if the date/time type falls on a weekend (true), or 0 otherwise (false).The function takes a string to represent the calendar path, and a date/time type as the datevalue. The function returns an integer.