Skip to content

DateTimeSet - DateTime

Include: Use System\DateTime.pkg

Creates a DateTime from date and time parts.

Type: Function

Return data type: DateTime

Parameters

Parameter Type Description
iYear Integer Year.
iMonth Integer Month number.
iDay Integer Day number.
iHour Integer Hour.
iMinute Integer Minute.
iSecond Integer Second.
iMillisecond Integer Millisecond.

Syntax

Function DateTimeSet Global Integer iYear Integer iMonth Integer iDay Integer iHour Integer iMinute Integer iSecond Integer iMillisecond Returns DateTime

Call

DateTime dtValue
Get DateTimeSet 2026 7 7 9 30 0 0 to dtValue

Description

Creates a DateTime from date and time parts.

See also