Back to Aurora Vision Studio website

You are here: Start » Filter Reference » System » Time » MakeDateTime

MakeDateTime


Module: FoundationLite

Returns a valid DateTime object completed with the input parameters.

Name Type Range Description
Input value inYear Integer 1970 - Year
Input value inMonth Integer 1 - 12 Month
Input value inDayOfMonth Integer 1 - 31 Day of the month
Input value inHour Integer 0 - 23 Hour
Input value inMinutes Integer 0 - 59 Minutes
Input value inSeconds Integer 0 - 60 Seconds
Output value outDateTime DateTime Completed DateTime object

Description

This filter can be used to create a DateTime object based on the provided date and time data. The DayOfWeek, DayOfYear, TimezoneOffset, DaylightSaving and UnixTime fields of outDateTime will be automatically filled with correct values.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Invalid input data given to MakeDateTime.

Complexity Level

This filter is available on Basic Complexity Level.