Метод ToShortDateString из пространства имен System в языке C# возвращает строковое представление даты в сокращенном формате. Этот метод преобразует значение даты в культурно-зависимую строку, используя соответствующие форматы даты, установленные на операционной системе. Результатом будет строка, содержащая краткую дату в формате DD.MM.YYYY, где DD - день, MM - месяц и YYYY - год. Этот метод может быть использован для отображения даты в удобочитаемом формате на разных языках и в разных локализациях.
C# (CSharp) System.ToShortDateString - 15 примеров найдено. Это лучшие примеры C# (CSharp) кода для System.ToShortDateString, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.