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

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

hi @kewalsinh.chavada

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

Try this

Thanks
Ashwin S

1 Like

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)

1 Like

Thanks.
Resolved.
CaptureCapture1

1 Like

Thanks.