MINUTE
Description
The MINUTE function is used to extract the minute part from a given timestamp type expression. This function accepts a timestamp type parameter and returns an integer representing the minute part of that time.
Parameter Description
- timestamp: A timestamp type expression, which can be a string, timestamp, etc.
Return Result
Returns an integer representing the minute part of the timestamp parameter.
Usage Example
- Extract the minute part from a string type time:
- Extract the minute part from the current timestamp and convert it to string format: