date.week() function

The date.week() function returns the ISO week of the year for a specified time. Results range from [1-53].

Function type: Transformation

import "date"

date.week(t: 2019-07-17T12:05:21.012Z)

// Returns 29

Parameters

t

The time to operate on.

Data type: Time

This documentation is open source. See a typo? Please, open an issue.


Need help getting up and running? Get Support