YMDHMStoT function

Official Content
This documentation is valid for:

Returns a DateTime value representing the date and time received as parameters.


YmdHmstoT(numeric-expression1 , numeric-expression2 , numeric-expression3 [ ,numeric-expression4 [ ,numeric-expression5 [ ,numeric-expression6 ] ] ] )


   represents the year. This value does not adjust according to the property ‘First year of 20th century’.

   represents the month.

   represents the day.

[ numeric-expression4 ]
   represents the hour. The time value must be specified in 24-hour format.

[ numeric-expression5 ]
   represents the minutes.

[ numeric-expression6 ]
   represents the seconds.

Parameters that are omitted are assumed as zero.

Type Returned:

Note: If only one of the components (date or time) is invalid (is not a valid date or time) only this component will be considered invalid. For example: YMDHMStoT(1990, 31, 2, 12, 10, 15) will return a valid datetime value with a null date part. The time will be 12:10:15.


Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Apple, Android, Angular

See Also

TimeZone Support - General Considerations
YMDtoD function