MINUTE
Last updated
Was this helpful?
Last updated
Was this helpful?
The function MINUTE returns the value of the minute in a Time or DateTime.
This function takes input in the form of either a or a . It returns a : the value of the minute in the given or a .
datetime (type: DateTime) Any DateTime. This is what describes the minute value that the MINUTE function will return.
time (type: Time) Any Time. This is what describes the minute value that the MINUTE function will return.
minute (type: Number) The minute value from the given Date or DateTime.
Assume the first example has access to the following DateTime value:
The following example takes the time described in example_date_and_time and outputs the number of minutes described:
The above example demonstrates how the MINUTE function behaves when given a DateTime as input. In order to further establish how the MINUTE function behaves when given a Time as input, assume the last example has access to the following Time value:
The following example takes the time described in example_time and outputs the number of minutes described: