C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL Date/Time minute() FunctionThe minute() is a MySQL date/time function. It is used to get the value of minute from given datetime or time. Syntaxect minute(date_value); Parameter:Date_value: datetime or time value for getting minute. Returns:This function returns the minute portion of a date value. Example 1select minute('10:18:25.000002'); Output: Example 2select minute('2018-9-28 10:20:25.000002'); Output:
Next TopicMySQL datetime
|