Child pages
  • Date/Time Format


Search

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.23 
            Releasenews | Download
 MediaPortal 2.2.2
            Releasenews | Download

Table of Contents

Overview

Date and time format display options use the .NET time class functionalities and provide a broad spectrum of different possibilities.

Standard Formats

A standard date and time format string uses a single format specifier to define the text representation of a date and time value in line with the regional Windows settings. The MediaPortal helper texts describe the most commonly used and also meaningful formats in connection with the MediaPortal screens, however, there are various other formats that allow further tweaking of how the information is displayed.

Date

"d"Short date pattern2017-01-27T13:45:30 -> 1/27/2017 (en-US)
"D"Long date pattern2017-01-27T13:45:30 -> Friday, January 15, 2017 (en-US)
"m"Month/Date pattern2017-01-27T13:45:30 -> January 15 (en-US)
"g"General date/time pattern      2017-01-27T13:45:30 -> 1/27/2017 1:45 PM (en-US)

Time

"t"Short time pattern2017-01-27T13:45:30 -> 1:45 PM (en-US)
"T"Long time pattern2017-01-27T13:45:30 -> 1:45:30 PM (en-US)
"U"Universal full date/time pattern2017-01-27T13:45:30 -> Friday, January 15, 2017 1:45:30 PM (en-US)

Reference

Please refer to Standard Date and Time Format Strings for a complete overview about the .NET Time/Date string definitions.

   

 

This page has no comments.