Convert a string representation into a time value.
SELECT TimeValue(“17:15:38”); |
The TimeValue() function converts a string into a time value.
TimeValue(string) |
Parameter |
Description |
string |
Required. A string representing a time within the range from 0:00:00 to 23:59:59 |
WORKS IN |
From Access 2000 |
Convert the provided string into a corresponding time value.
SELECT TimeValue(“5:15:38 PM”); |