logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
AgentPete  
#1 Posted : Wednesday, May 17, 2017 4:07:05 PM(UTC)
AgentPete

Rank: Advanced Member

Groups: Registered
Joined: 5/13/2017(UTC)
Posts: 74
Location: London

Thanks: 34 times
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!
DWAM  
#2 Posted : Thursday, May 18, 2017 5:17:45 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,436
Man
France
Location: Bordeaux, France

Thanks: 200 times
Was thanked: 699 time(s) in 534 post(s)
Hi

check these pages :
https://msdn.microsoft.c.../8kb3ddd4(v=vs.110).aspx
https://msdn.microsoft.c.../bb397769(v=vs.110).aspx

Not sure it is fully implemented in vMix but using scripting there must be a way.

Guillaume
AgentPete  
#3 Posted : Thursday, May 18, 2017 6:12:24 AM(UTC)
AgentPete

Rank: Advanced Member

Groups: Registered
Joined: 5/13/2017(UTC)
Posts: 74
Location: London

Thanks: 34 times
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...

:)
DWAM  
#4 Posted : Thursday, May 18, 2017 6:14:29 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,436
Man
France
Location: Bordeaux, France

Thanks: 200 times
Was thanked: 699 time(s) in 534 post(s)
The 2nd link explains how to deal with time zones. (there's an option to switch to english)
AgentPete  
#5 Posted : Thursday, May 18, 2017 3:30:16 PM(UTC)
AgentPete

Rank: Advanced Member

Groups: Registered
Joined: 5/13/2017(UTC)
Posts: 74
Location: London

Thanks: 34 times
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 :(
NYCshow  
#6 Posted : Saturday, October 17, 2020 5:01:39 AM(UTC)
NYCshow

Rank: Newbie

Groups: Registered
Joined: 6/12/2020(UTC)
Posts: 6
United States
Location: New York

Was there ever a resolution for this? I'm looking to do the exact same thing.
Pepsi(~)  
#7 Posted : Monday, October 19, 2020 3:56:08 AM(UTC)
Pepsi(~)

Rank: Advanced Member

Groups: Registered
Joined: 9/9/2020(UTC)
Posts: 50
Netherlands
Location: Noord-Brabant

Thanks: 2 times
Was thanked: 6 time(s) in 6 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.
Users browsing this topic
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.