Datetime Conversion

ach
ach Member Posts: 16
edited 2004-06-09 in Navision DOS
H There,

I'm sure this is straightforward enough but the online help is miserable, I want to know how to convert a DATETIME to TIME or TEXT.

THANKS

Comments

  • janpieter
    janpieter Member Posts: 298
    Have a look at the function : DT2TIME
    time := DT2TIME(DateTime)
    

    To convert to text have a look at the "DateTime Management" Codeunit
    In a world without Borders or Fences, who needs Windows and Gates?