DateTime
Is Weekend
6min
This action checks if a date is on a weekend.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/kwfqoz6L0Oo3RWjCjQXC0_image.png?format=webp)
- [ I ] Date: DateTime representing the date to be checked.
- [ O ] Is it weekend ?: Boolean representing the logic value of Is Date on a weekend ?
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/UKZLgORPNKytX5GMBZghs_tdy.png?format=webp)
- Drag action onto canvas to get familiarized with it.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/Ko0G0Gojz7exl--mvNGMZ_tdy.png?format=webp)
- Declare some variables to be used with the action.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/EwDDB9xUnnLo1WKR5iBDa_tdy.png?format=webp)
- Assign the newly created variables.
- Save & Run the process and then Check Instance to see the output.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/qK7uiZeHccAZ7sJEAxyQk_tdy.png?format=webp)
- Checking if a date is on a weekend or not.
To check if a date is on a weekday, consider using Is Weekday.