First of all, this codeunit does not exist anymore in 5.0 . If it was replaced or not, I don't know.
Second, the functions are just calculation-functions which can help you working with dates, times and decimal representations of datetimes (any datetime can be representated as a decimal).
For example:
DateTime: will give you the datetime-decimal of a combination date and time... .
Datetime2Time: returns a time from a datetime-decimal variable.
Datetime2Date: returns a date from a datetime-decimal variable.
Datetime2Text: returns the datetime-decimal in text format.
Text2Datetime: converts the text into the datetime-decimal.
Comments
Second, the functions are just calculation-functions which can help you working with dates, times and decimal representations of datetimes (any datetime can be representated as a decimal).
For example:
DateTime: will give you the datetime-decimal of a combination date and time... .
Datetime2Time: returns a time from a datetime-decimal variable.
Datetime2Date: returns a date from a datetime-decimal variable.
Datetime2Text: returns the datetime-decimal in text format.
Text2Datetime: converts the text into the datetime-decimal.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
The C/AL functions CREATETIME, DT2TIME and DT2DATE should be used instead.
See here for code examples
www.NextEqualZero.com
A technical eye on Dynamics NAV