DATE_FORMAT « Date Time « SQL / MySQL






1.SELECT TIME_FORMAT('02:17', '%H')
2.Using Patterns with Non-String Values