Returns the decimal number from a time given as text.
Syntax
Remarks
The result ranges from 0 to 0.99988426, indicating the time from 12:00:00 AM to 11:59:59 PM.
The result can be formatted to display time.
The date value given in input will be ignored.
Examples
|
Formula |
Result |
|
=TIMEVALUE("14:30PM") |
0.104166667 |
|
=TIMEVALUE("2/3/2020 1:15:20AM") |
0.052314815 |
|
=TIMEVALUE("12PM") |
0.5 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions