Hi @Sergio Siqueira ,
Use the following code to convert the date to "dd/MM/yyyy" date format.
Dim dt2 = DateTime.ParseExact("31/12/2021", "dd/MM/yyyy", Nothing)
Convert to "MM/dd/yyyy" format.
dt2.ToString("MM/dd/yyyy")
Hope it could be helpful.
Best Regards,
Xingyu Zhao
*
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.