/
YearweekFromDate function
YearweekFromDate function
Returns the week number in the year from the given date.
Namespace
datetime
Input
date(date
|string
)
Output
week(int
)
Example
If basedate
contains the date 2008-08-18
, then the two following functions are equivalent, and return the value 33
set-column result datetime:YearweekFromDate('2008-08-18')
set-column result datetime:YearweekFromDate(basedate)
Related content
DaysSinceFromDate function
DaysSinceFromDate function
More like this
Router Transformation (Deprecated)
Router Transformation (Deprecated)
More like this
Google Ads Single Report Batch Source (Deprecated)
Google Ads Single Report Batch Source (Deprecated)
More like this
GitHub Batch Source (Deprecated)
GitHub Batch Source (Deprecated)
More like this
Google Ads Multiple Report Batch Source (Deprecated)
Google Ads Multiple Report Batch Source (Deprecated)
More like this
Parquet Dynamic Partitioned Dataset Sink (Deprecated)
Parquet Dynamic Partitioned Dataset Sink (Deprecated)
More like this
Created in 2020 by Google Inc.