Home > Language Reference > Date/Time Functions > Min$

Min$

The Min$ function returns the minute of the hour (00 to 59).

Usage

Used for example to concatenate the minute of the hour with a filename.

Syntax

var$=Min$()

Parameter

None.

Return value

var$, string, minute of the hour (2 characters). If the minute is less than 10, a leading 0 is added.

See also

Date$
DateBetween
DateToDate$
Day$
Hour$
Hundreds
Month$
Sec$
Time$
WeekDay
Year$

Example

msgbox(Min$())