TimeFromParts Function (Access custom web app)

Returns a time value based on specified parts.

Note

The cloud storage feature described in this article is no longer supported in Office 2013 and Office 2016 and may result in the following error: Sorry, we're having server problems, so we can't add <service> right now. Please try again later. For cloud storage for Office Online, Office for iOS, and Office for Android, look into our Office Cloud Storage Partner Program.

Syntax

TimeFromParts (Hour, Minute, Second)

The TimeFromParts function contains the following arguments.

Argument name Description
Hour
Integer expression specifying hours.
Minute
Integer expression specifying minutes.
Second
Integer expression specifying seconds.

See also

TimeFromParts returns a fully initialized time value. If the arguments are invalid, then an error is raised. If any of the parameters are null, null is returned.