DateWithTimeFromParts Function (Access 2013 custom web app)

Office 2013

Returns a Date and Time based on a specified year, month, day, and time.

Last modified: June 29, 2012

Applies to: Access 2013 | Office 2013

DateWithTimeFromParts (Year, Month, Day, Hour, Minute, Second)

The DateWithTimeFromParts function contains the following arguments.

Argument name

Description

Year

Integer expression specifying a year.

Month

Integer expression specifying a month.

Day

Integer expression specifying a day.

Hour

Integer expression specifying hours.

Minute

Integer expression specifying minutes.

Second

Integer expression specifying seconds.

DateWithTimeFromParts returns a fully initialized Date/Time value. If the arguments are not valid, an error is raised. If required arguments are Null, then Null is returned.

Show:
© 2014 Microsoft