syntax:functions:isweekend
This is an old revision of the document!
Table of Contents
IsWeekend(date)
Category: Date and Time function
Description
This function returns TRUE if date falls on a weekend day (Saturday or Sunday). Otherwise, it returns FALSE.
Arguments
Argument | Type | Description |
---|---|---|
date | Date or Number (date serial) | An expression representing a date. The date to test whether it falls on a weekend day, or not. |
Return value type: Boolean (TRUE/FALSE)
Examples
isweekend(#2019-05-16) //Returns FALSE (Thursday)
isweekend(#2019-05-19) //Returns TRUE (Sunday)
See also
syntax/functions/isweekend.1630303897.txt.gz · Last modified: 2021/08/30 02:11 by craigt