MS Access TimeSerial() Function
Example
Return a time given an hour, minute, and second value:
SELECT TimeSerial(15, 9, 20);
Try it Yourself »
Definition and Usage
The TimeSerial() function returns a time given an hour, minute, and second value.
Syntax
TimeSerial(hour, minute, second)Parameter Values
| Parameter | Description |
|---|---|
| hour | Required. A number between 0 and 23 that represents the hour value |
| minute | Required. A number between 0 and 59 that represents the minute value |
| second | Required. A number between 0 and 59 that represents the second value |
Technical Details
| Works in: | Access 2016, Access 2013, Access 2010, Access 2007, Access 2003, Access XP, Access 2000 |
|---|
More Examples
Example
Return a time given an hour, minute, and second value:
SELECT TimeSerial(12-2, 40-5, 20-5);
Try it Yourself »

