.net Get localized DateTime format specifiers -
it possible in .net localized datetime specifiers?
for example italian language:
d > g dd > gg mm > mm hh > oo yyyy > aaaa
and on
not in way thinking, no. standard , custom date , time format strings language-neutral.
they can applied using specific language or culture identifier, so:
datetime dt = datetime.now; // or value string format = "g"; // whatever format cultureinfo culture = new cultureinfo("it-it"); // culture code string s = dt.tostring(format, culture); // apply them both
Comments
Post a Comment