Rank: Advanced Member
Groups: Registered
Joined: 5/13/2017(UTC) Posts: 111 Location: London
Thanks: 53 times Was thanked: 9 time(s) in 3 post(s)
|
Is there a simple way to customize time zones in TimerClock, i.e. to display
{0:MM/dd/yyyy h:mm tt}
minus 5 hours...?
Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/13/2017(UTC) Posts: 111 Location: London
Thanks: 53 times Was thanked: 9 time(s) in 3 post(s)
|
Thanks, Guillaume.
The "z" value is relevant, but all it seems to do is return the difference between UTC and local machine time (in my case it displays +1).
What I'm looking to do is a simple calculation... along the lines of
{0:MM/dd/yyyy (h-5):mm tt}
But the field doesn't appear to want to do any sums...
:)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
The 2nd link explains how to deal with time zones. (there's an option to switch to english)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/13/2017(UTC) Posts: 111 Location: London
Thanks: 53 times Was thanked: 9 time(s) in 3 post(s)
|
Thanks, but this is way too complex for something that should be quite simple... I've tried pasting both the C# and the VB code in, all that happens is that the code displays :(
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/12/2020(UTC) Posts: 7 Location: New York Was thanked: 1 time(s) in 1 post(s)
|
Was there ever a resolution for this? I'm looking to do the exact same thing.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/9/2020(UTC) Posts: 94 Location: Noord-Brabant Thanks: 3 times Was thanked: 13 time(s) in 12 post(s)
|
How good are you with HTML? I can share you my code, I use to provide 1 analog clock (different timezone than my vmix computer. I run it in a web browser. And switch between various inputs. To show other times.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/19/2021(UTC) Posts: 2 Location: Orillia
|
Originally Posted by: NYCshow Was there ever a resolution for this? I'm looking to do the exact same thing. It may not be the solution you're looking for, but if you turn on the production clock (Settings > Options > Transition Display:Production Clock)you can double click-it, offset the time from system time, and then select 'create input'. Then you can add it anywhere. NOTE: You may need to remove some other Transition Display objects for the Clock to appear below the T-bar. Do a search for "Production Clocks" in the help for more info. https://www.vmix.com/help24/
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 302 Thanks: 17 times Was thanked: 79 time(s) in 60 post(s)
|
This was solved in Doggy's Scripting for Dummies a while ago. Code:do while true
Dim d1 As DateTime = DateTime.Now.AddHours(3)
API.Function("SetText",Input:="clock",SelectedIndex:="0" ,Value:=d1.ToString("dd/MM/yy H:mm:ss"))
sleep(200)
loop
I had asked vMix support some time ago if time zones were supported. The time zones are not supported. A feature request would be needed.
|
|
|
|
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