Time::minute()

Returns the minute number.

Table of Contents
  1. Description
  2. Example

Description

Time::minute(): string;

This method returns the minute number, 2 digits with leading zeros.

Example

$time = new Time;

echo $time->minute(); // Returns `'28'`

Time::day()

Returns the day number of the week, or the day name.

Time::format()

Returns the date/time formatted according to the given format.

Time::i()

Returns the date/time formatted according to the given pattern.

Time::minute()

Returns the minute number.

Time::name()

Returns the date/time format as a valid file name.

Time::to()

Converts current date/time zone to other date/time zone.