date

Returns a date with the specified year, month, and day

Syntax

date(year, month, day)

Parameter

  • year: 4 digits.
    For example, 2012
  • month: 2 digits.
    For example, 01 or 12
  • day: 2 digits.
    For example, 01 or 30

Examples

  • If today is October 1, 2015 the following function returns Oct 1, 2015 when viewed from an advertiser with a US time zone:
    date(2015, 10, 01)

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
10625196711641347627
true
Search Help Center
true
true
true
true
true
5055977
false
false