Hi
I'm looking for a good solution to convert a date and a time to a datetime value.
This works:
evaluate(mydatetime,format(mydate) + ' ' + format(mytime);
I'm not sure concerning this is efficient and safe because of the locale setting of the os. Maybe format(10.09.2007) may be the different on a us american locale than on a swiss one.
Thanks on any input.
Regards
Thomas
Answers
the output of FORMAT(yourdate) will be different on a US machine then on a Swiss machine. And that's exactly what you need... .
:-k
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Many thanks to your conributions.
Thomas
#-o
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog