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