Change date format?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
How change date format? From MM/DD/YYYY to DD/MM/YYYY. NOPCOMMERCE 3.8
7 years ago
we can use the syntax

insert into Nop_LocaleStringResource (LanguageID, ResourceName, ResourceValue)
values (7, 'Admin.GlobalSettings.Date.Format', 'dddd, dd MMMM yyyy')
7 years ago
petrjiricek wrote:
How change date format? From MM/DD/YYYY to DD/MM/YYYY. NOPCOMMERCE 3.8

I have just confused but I found the way resolved it. you just need CreatedOn.ToString("D") to CreatedOn.ToString("dd/MM/yyyy")

I am so happy if you visit my blog
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.