Skip to content

minute

Extracts the minute component from a timestamp.

minute(x: time) -> int

The minute function extracts the minute component from a timestamp as an integer (0-59).

The timestamp from which to extract the minute.

from {
ts: 2024-06-15T14:30:45.123456,
}
minute = ts.minute()
{
ts: 2024-06-15T14:30:45.123456,
minute: 30,
}

year, month, day, hour, second

Last updated: