DateTime
Get Day Of Week
6min
This action returns the index of the day of the week for a DateTime.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/tCHOHxy53VrlSsmMpgflX_tdy.png?format=webp)
- [ I ] Date: DateTime to get the index of the day of the week for.
- [ I ] Numbering: Drop-down for day indexing configuration.
- Week begins on Sunday(1) and ends on Saturday(7)
- Week begins on Monday(1) and ends on Sunday(7)
- Week begins on Monday(0) and ends on Sunday(6)
- [ O ] Day number: Integer equal to the index of the day of the week.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/TJZyHmL57IlSjadJles3J_tdy.png?format=webp)
- Drag action onto canvas to get familiarized with it.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/oc-H9VSbd9QvO-Sd4dlhH_tdy.png?format=webp)
- Declare some variables to be used with the action.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/kA3QzBqhlL9ViUnTvWOsH_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/W219p5MQC1qcRPcBvM8K0_tdy.png?format=webp)
- Determining the day of the week for a given date.
Updated 31 Aug 2023
![Doc contributor](https://s3.amazonaws.com/archbee-animals/koala.png)
Did this page help you?