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] )
Where:
numeric-expression1
Represents the year. This value does not adjust according to the First year of 20th century property.
numeric-expression2
Represents the month.
numeric-expression3
Represents the day.
numeric-expression4
It is an optional value that represents the hour. The time value must be specified in 24-hour format.
numeric-expression5
It is an optional value that represents the minutes.
numeric-expression6
Represents the seconds and it is also an optional value.
Parameters that are omitted are assumed as zero.
Type Returned:
DateTime
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
TimeZone Support - General Considerations
YMDtoD function