vMix Forums
»
General
»
General Discussion
»
Date time formats in titles?
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
Is there a list of date and time format templates for titles?\ I looked but can't seem to find it.
{0:hh:mm tt} is doing fine for the time e.g., 04:57 PM
I guessed at two variants for date (documentation would help a lot, so any help finding it is appreciated)
{0:M/dd/yyyy} yields 12/14/2016
{0:M dd, yyyy} yields 12 14, 2016
I am looking for something that spells out the month name, e.g., December 14, 2016
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,227 Location: Belgium Thanks: 293 times Was thanked: 956 time(s) in 791 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
I found some formatting information on a .NET page https://msdn.microsoft.c...(v=vs.110).aspx#MonthDayI almost have what I want with a single format command {0:f} yields Wednesday December 14, 2016 5:21 PM Is there any easy way to suppress the day of week, yet keep the month spelled out?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,227 Location: Belgium Thanks: 293 times Was thanked: 956 time(s) in 791 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
Thanks Doggy,
I tweaked it to account for single digit minutes (adds a leading zero)
{0:MMMM dd, yyy h:mm tt}
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Date time formats in titles?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close