website logo
πŸ”­Overview
πŸ’ΌPlatform Actions
πŸ’œIntegrations
🧰Custom Actions
πŸ› οΈDeveloper's Guide
Navigate through spaces
⌘K
πŸ“•Call API
πŸ“•Generate Document
πŸ“•Call Subprocess
πŸ“•Decisional
βš“Decisional Further Reading
πŸ“•Join
πŸ“•Delay
πŸ“•For Each
πŸ“•Get File Data
πŸ“•Map Process Data
βœ‰οΈSend Email
πŸ“¬Inbound email
πŸ“Database
πŸ“Documents
πŸ“DateTime
πŸ“FTP/sFTP
πŸ“Json
πŸ“XPath
πŸ“Lists
πŸ“Numerical
πŸ“Strings
πŸ“Converters
πŸ“Excel
πŸ“Scripting
πŸ“Utilitary
πŸ“Pdf
πŸ“Beta
Docs powered byΒ archbeeΒ 

Get Day Of Week

8min

This action returns the index of the day of the week for a DateTime.

Document image
ο»Ώ

Inputs & Outputs

  • [ 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
ο»Ώ

Example Usage

  • Drag action onto canvas to get familiarized with it.
Document image
ο»Ώ
  • Declare some variables to be used with the action.
Document image
ο»Ώ
  • Assign the newly created variables.
  • Save & Run the process and then Check Instance to see the output.
Document image
ο»Ώ

Use Cases

  • Determining the day of the week for a given date.

Tips

  • To check if a date is on a weekday, consider using Is Weekday.
  • To check if a date is on a weekend, consider using Is Weekend.

ο»Ώ

Updated 03 Apr 2023
Did this page help you?
Yes
No
PREVIOUS
Get Week Number
NEXT
Update DateTime
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Inputs & Outputs
Example Usage
Use Cases
Tips