Back to Aurora Vision Library Lite website
You are here: Start » System » Time » MakeDateTime_Deprecated
MakeDateTime_Deprecated
| Header: | STD.h |
|---|---|
| Namespace: | avl |
Returns a valid DateTimeDeprecated object completed with the input parameters.
Syntax
void avl::MakeDateTime_Deprecated ( int inYear, int inMonth, int inDayOfMonth, int inHour, int inMinutes, int inSeconds, avl::DateTimeDeprecated& outDateTime )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inYear | int | 1970 - ![]() |
Year | |
![]() |
inMonth | int | 1 - 12 | Month | |
![]() |
inDayOfMonth | int | 1 - 31 | Day of the month | |
![]() |
inHour | int | 0 - 23 | Hour | |
![]() |
inMinutes | int | 0 - 59 | Minutes | |
![]() |
inSeconds | int | 0 - 60 | Seconds | |
![]() |
outDateTime | DateTimeDeprecated& | Completed DateTimeDeprecated object |
Description
This filter can be used to create a DateTimeDeprecated 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
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Invalid input data given to MakeDateTime_Deprecated. |



