How do I convert the Invoice Date in German Date format dd-MMM-yyyy ex. 03-Mai-2018 to 03.05.2018?

studio

#1

Convert Invoice Date from other formats to Global date format.
Example. 03-Mai-2018 to 03.05.2018


#2

hi @kewalsinh.chavada

string German= myDate.ToString(new CultureInfo(“de”));

Try this

Thanks
Ashwin S


#3

Hi,

Imports System.Globalization

and have a variable “ci” for the culture info as “new CultureInfo(“de-DE”)”
then convert the string as DateTime.Now.ToString(“d”, ci)


#4

Thanks.
Resolved.
CaptureCapture1


#5

Thanks.