DateTime in German language

studio
variable

#1

Hey guys,
How can I convert the month of a DateTime into German language?

Example:
DateTime.Now.ToString (“MMM”) => Dec
I want “Dez” for “Dezember”

thanks :slight_smile:


#2

Hello!

You just have to set a CultureInfo variable and then set the German Language. Then you just have to convert passing the format and the culture.

Example:

Hope It Helps :wink:

Regards,


#3

Hey Lucas,

THANK YOU SO MUCH!!! :slight_smile: