$time

Returns the current application date-time with current date-time as the input.

Table of Contents
  1. Description
  2. Example

Description

This variable is an instance of the Time class with current date-time as the input.

Example

<p>
  <?= i('Today is %s', [$time->format('Y-m-d H:i:s')]); ?>
</p>

$date

Returns the current application date-time with current date-time as the input.

$layout

Returns information about the currently loaded layout file.

$lot

Returns the arguments from the layout loader.

$site

Returns the current application states.

$t

Returns the current application title.

$time

Returns the current application date-time with current date-time as the input.