And one thing: the time is saved internally with ms, but showed without. You need to use different formating to show them (e.g. if you move cursor to edit the time, you can see the ms...). Use FORMAT function to get full value...
And one thing: the time is saved internally with ms, but showed without. You need to use different formating to show them (e.g. if you move cursor to edit the time, you can see the ms...). Use FORMAT function to get full value...
Yes, I used the function CURRENTDATETIME. However it was showing only the time and date.. If ms is also entering internally then it is fine.
Just a quick note about Date time & Time data types - both of these data types are accurate to 1/1000th of a second. However the formated output of these fields on forms & in reports does not show this detail.
You can either use the AutoFormat Expression of the field or use the Format function to control your output.
Comments
And one thing: the time is saved internally with ms, but showed without. You need to use different formating to show them (e.g. if you move cursor to edit the time, you can see the ms...). Use FORMAT function to get full value...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Regards
Yes, I used the function CURRENTDATETIME. However it was showing only the time and date.. If ms is also entering internally then it is fine.
Thank you all for your support
Shibily
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
You can either use the AutoFormat Expression of the field or use the Format function to control your output.
Epimatic Corp.
http://www.epimatic.com
FORMAT(DateVal,0,'<Day,2><Month,2><Year4><Hours24,2><Minutes,2><Seconds,2>')
FORMAT(CURRENTDATETIME,0,'<Day,2><Month,2><Year4><Hours24,2><Minutes,2><Seconds,2><Second dec>'));