-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Duckdb currently support ISOWEEK only from date extraction. We can support week that start on first sunday thanks to the time formatting.
WITH t AS (SELECT CAST('2017-11-05' AS DATE) AS date)
SELECT
date,
CAST(strftime("date", '%U') AS INT) AS week_sunday,
EXTRACT(WEEK FROM date) AS week_monday FROM t
What do you think about implementing this ?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested