MS Access TimeValue() Function

Example

Return a time based on the given string:

SELECT TimeValue("17:15:38");
Try it Yourself »

Definition and Usage

The TimeValue() function returns a time based on a string.

Syntax

TimeValue(string)

Parameter Values

Parameter Description
string Required. A string that represents a time (from 0:00:00 to 23:59:59)

Technical Details

Works in: From Access 2000

More Examples

Example

Return a time based on the given string:

SELECT TimeValue("5:15:38 PM");
Try it Yourself »

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.