You are here

function date_plugin_argument_default::get_argument in Date 6

File

./date_api.views.inc, line 404
Defines date-related Views data and plugins:

Class

date_plugin_argument_default
Default argument plugin to default to the current date.

Code

function get_argument() {
  return date($this
    ->format(), time());
}