Start of period
Return midnight at the start of the day, week (Monday), month or year containing a date.
Command in the Date and time toolkit · id ooa.datetime/start_of · 2 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | DateTime | Yes | Date. | |
| Unit | String | No | day | Period. |
Outputs
| Output | Type | What it is |
|---|---|---|
| result | DateTime | Start of the period. |