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
๐Ÿ“•Throw
๐Ÿ“•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
โค๏ธCommunity-Made
๐Ÿ“Beta
Docs powered by
Archbee
DateTime

Get Week Number

7min

This action returns the week number for a DateTime.

Obs: The week number indicates where the week falls numerically within a year.

Document image
๏ปฟ

Inputs & Outputs

  • [ I ] Date: DateTime for which to get the week number.
  • [ I ] First week rule: Drop-down๏ปฟ
    • First Day โžœ Indicates that the first week of the year starts on the first day of the year and ends before the following designated first day of the week.
    • First Full Week โžœ Indicates that the first week of the year is the first week with four or more days before the designated first day of the week.
    • First Four Day Week โžœ Indicates that the first week of the year begins on the first occurrence of the designated first day of the week on or after the first day of the year.
  • [ I ] First day of week: Drop-down๏ปฟ
    • Sunday โžœ Uses Sunday as first day of the week.
    • Monday โžœ Used Monday as first day of the week.
  • [ O ] Week number: Integer representing the extracted week number.
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 week number for a given date.

๏ปฟ

Updated 31 Aug 2023
Did this page help you?
PREVIOUS
Get Minute
NEXT
Get Day Of Week
Docs powered by
Archbee
TABLE OF CONTENTS
Inputs & Outputs
Example Usage
Use Cases
Docs powered by
Archbee