WEEKS_ADD

Learn how to use the WEEKS_ADD date/time function in PlaidCloud Lakehouse. Adds a specified number of weeks to a date - see syntax, examples, and output.

Adds a specified number of weeks to a date.

Analyze Syntax

func.weeks_add(<date>, <n>)

Analyze Examples

func.weeks_add('2024-01-01', 2)

┌──────────────┐
 '2024-01-15'  
└──────────────┘

SQL Syntax

WEEKS_ADD(<date>, <n>)

SQL Examples

SELECT WEEKS_ADD('2024-01-01', 2);

┌────────────┐
 2024-01-15  
└────────────┘