from_date

Returns the date at the beginning of the report’s current time range.

Syntax

from_date()

Example

If the time range selector for a keyword report is set to October 15, 2013 to December 15, 2013, the following returns the number of clicks between October 15, 2013 and December 1, 2013:
Clicks.for_date_range(from_date(), Date(2013, 12, 1))

If from_date() is later than date(2013, 12, 1), the expression evaluates to 0.

Was this helpful?
How can we improve it?