TIME$ Function Details Syntax TIME$ The TIME$ function returns an eight-character string in the pattern hh:mm:ss, where hh is the hour (00-23), mm is minutes (00-59), and ss is seconds (00-59). A 24-hour clock is used; therefore, 8:00 PM is shown as 20:00:00. To set the time, use the TIME$ statement.