MONTHS_ADD

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

Adds a specified number of months to a date.

Analyze Syntax

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

Analyze Examples

func.months_add('2024-01-15', 3)

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

SQL Syntax

MONTHS_ADD(<date>, <n>)

SQL Examples

SELECT MONTHS_ADD('2024-01-15', 3);

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