Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Conversion of anytype in Date format D/M/Y

$
0
0

Good morning friends, 
 
I am inexperienced in the world of AX and I have a problem here, I created a Job to import a register of a file. txt, here everything certain, but my date field is with the inverted format, when it is converted of anytype for date: Example: 
 
Field of the date of the file. txt               after having converted inside of the variable type dates 
22/07/09                                                                  9/7/2022  
Format: D/M/Y                                                  


conversion method:       VarDate = any2date(conpeek(curretLine,#Date)) ;

in the moment that is converted by the function, any2date she acquires the date in the format Y/M/D, (but the date that this in the format D/M/Y in the. txt) and later in my database he assumes the format D/M/Y, creating this this inversion of the position of the value of D with Y.

 I would like to know if a method exists to convert the anytype maintaining the format D/M/Y ???

Thanks


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>