is there way can retrieve phones system date format, eg: dd/mm/yyyy or mm/dd/yyyy ?
you can use toshortdatestring().
the string returned toshortdatestring method culture-sensitive. reflects pattern defined current culture's datetimeformatinfo object.
datetime.now.toshortdatestring();
according documentation (in link) display date in current date format.
for actual format
cultureinfo.currentculture.datetimeformat;
Comments
Post a Comment