I have a multilingual website and need to show the date in this format Wednesday, May 22, 2013 . I use the following line of code to display dates
DateTime.UtcNow.ToString("D");
It doesnβt work when I use it with cultural information.
Then he shows me the dates in this format Ω
Ψ§ΩΩ 2013,22
How to show the date in Arabic format in the format year, date month day
I am not sure why DateTime.UtcNow.ToString("D"); cannot convert to arabic date with weekdays
UPDATE: works DateTime.Now.ToString("dd dddd , MMMM, yyyy", new CultureInfo("ar-AE"))
date c #
Learning
source share