vMix Forums
»
General
»
General Discussion
»
Timezone syntax string in GT Titler
Rank: Advanced Member
Groups: Registered
Joined: 5/25/2020(UTC) Posts: 31
Was thanked: 1 time(s) in 1 post(s)
|
I've had a read of the below and the Microsoft link in the article, but can't get anything to work. https://www.vmix.com/kno...-clock-and-timer-optionsAll of my machines are running in UTC time. If want to display a clock or timer in PST, GMT or JST for example, how can i write that code into the string? I've tried both the Z and K commands, but with no luck. Any ideas?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/25/2020(UTC) Posts: 31
Was thanked: 1 time(s) in 1 post(s)
|
@admin - please move to GT forum
My PC (Server 2019) is set to UTC. In vMix, i create a new GT Title, Timer Centre. {0:hh:mm:ss} this is the standard clock and i get a print of hh:mm:ss.
{0:K:hh:mm:ss} gives me +00:00:mm:hh:ss {0:z:hh:mm:ss} gives me +0:mm:hh:ss {0:hh:mm:ssz} gives me mm:hh:ss+0 {0:hh:mm:sszz} gives me mm:hh:ss+00
I've tried both Z and K commands, but can't work this out. I would like my clock to display JST for example. How do i code the syntax so that i can tell the command that i want a +9 or JST output clock, showing me just mm:hh:ss but in that timezone?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Could always use a production clock input with a time offset , crop and resize and overlay on title
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
or script (add/subtract time difference) Code:Dim d1 As DateTime = DateTime.Now.AddHours(3)
API.Function("SetText",Input:=1,SelectedIndex:="0" ,Value:=d1.ToString("dd/MM/yy H:mm:ss"))
|
1 user thanked doggy for this useful post.
|
|
|
vMix Forums
»
General
»
General Discussion
»
Timezone syntax string in GT Titler
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