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 ] ] ] )

Type Returned:

   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.


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 object, Transaction object, Web Panel object

See also

TimeZone Support - General Considerations
YMDtoD Function

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.