Jump to content
Medved Trader Forums

Chart - Configure non-military time?


jjevans

Recommended Posts

Short time: the letter t should cause it to show as 1:30 PM (lower case)
Long format: HH (Upper case) stands for 2 digit hour - 24h display.  hh (Lower case) is for 12 hour display, but then you want to add tt on the end to designate AM/PM. For example:

HH:mm:ss   will show 15:05:11
hh:mm:ss tt  will show 03:05:11 PM

and you can use the same thing in the Date/Time field though of course you would want to include the corresponding date/time indicators. For more details you can look here:

https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

just scroll down to where they show the format specifier table about 2 screen pages down.

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...