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
Input value inYear int 1970 - Year
Input value inMonth int 1 - 12 Month
Input value inDayOfMonth int 1 - 31 Day of the month
Input value inHour int 0 - 23 Hour
Input value inMinutes int 0 - 59 Minutes
Input value inSeconds int 0 - 60 Seconds
Output value 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.