VOOZH about

URL: https://support.google.com/sa360/answer/14549375

⇱ offset_years - Search Ads 360 Help


Skip to main content

offset_years

offset_years function adds years to the year component of date.

Syntax

offset_years(date(year, month, day), years)

Parameters

  • date can be any of the following:
    • Another function that returns a date.
    • A formula column that returns a date.
  • year: 4 digits.
    For example, 2012
  • month: 2 digits.
    For example, 01 or 12
  • day: 2 digits.
    For example, 01 or 30
  • years
    • Positive: Counts forward
    • Negative: Counts backward
    • Example

Example

offset_years(date(2020,12, 25), 5) = 2025-12-25

Related links

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
6467000428689987324
true
Search Help Center
false
true
true
true
true
true
5055977
false
false
false
false
false