using the format type
<year>-<month,2>-<day2>T<Hours24>:<Minutes,2>:<Seconds,2>.<Second dec.>Z
The help file of NAV (quick key F1) has an extended topic on Format (in the C-side reference part)
Or even faster: <standard format,9> (where 9 is the xml standard in NAV for date, time and datetime)
|Pressing F1 is so much faster than opening your browser| |To-Increase|
Comments
<year>-<month,2>-<day2>T<Hours24>:<Minutes,2>:<Seconds,2>.<Second dec.>Z
The help file of NAV (quick key F1) has an extended topic on Format (in the C-side reference part)
Or even faster: <standard format,9> (where 9 is the xml standard in NAV for date, time and datetime)
|To-Increase|
I have tried this; FORMAT(CURRENTDATETIME,9). It doesnt work..
Thank you for the answer
The syntax for the format function in C/AL is So in your case it would be something like
|To-Increase|
to round the value to seconds.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.