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
SDKUCSS  
#1 Posted : Friday, January 12, 2024 4:46:50 AM(UTC)
SDKUCSS

Rank: Member

Groups: Registered
Joined: 5/15/2022(UTC)
Posts: 13
United States
Location: Ohio

Was thanked: 1 time(s) in 1 post(s)
Is it possible to have a vMix clock that counts to a specific time, more than 24 hours? If it’s Monday, how do you build a clock that countdown to Wednesday at 3pm? I’ve tried using different combinations of the MM:DD:YYYY but I can’t figure out how to you configure the syntax?
doggy  
#2 Posted : Friday, January 12, 2024 5:24:00 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,084
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: SDKUCSS Go to Quoted Post
Is it possible to have a vMix clock that counts to a specific time, more than 24 hours? If it’s Monday, how do you build a clock that countdown to Wednesday at 3pm? I’ve tried using different combinations of the MM:DD:YYYY but I can’t figure out how to you configure the syntax?


GIS !

https://forums.vmix.com/...own-to-midnight#post3310

https://forums.vmix.com/...ountdown-timer-with-days
SDKUCSS  
#3 Posted : Friday, January 12, 2024 9:04:18 AM(UTC)
SDKUCSS

Rank: Member

Groups: Registered
Joined: 5/15/2022(UTC)
Posts: 13
United States
Location: Ohio

Was thanked: 1 time(s) in 1 post(s)
Thanks for the help Doggy, but I don’t think I explained myself correctly. For the countdown display, I’d like to have the total hours until the event. So it would be greater than 24 hours away. So an event happening three days from now would add 72 hours to the clock and it would display as “75:30:10” with hours, minutes and seconds displayed as the countdown.
nikosman88  
#4 Posted : Friday, January 12, 2024 9:45:45 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 343
Greece
Location: athens

Thanks: 113 times
Was thanked: 52 time(s) in 49 post(s)
Originally Posted by: SDKUCSS Go to Quoted Post
Thanks for the help Doggy, but I don’t think I explained myself correctly. For the countdown display, I’d like to have the total hours until the event. So it would be greater than 24 hours away. So an event happening three days from now would add 72 hours to the clock and it would display as “75:30:10” with hours, minutes and seconds displayed as the countdown.

Hello i dont know if possible directly in vmix but i can suggest you a workaround to do what you need. You can use this app https://github.com/dlamon1/clockotron/releases/

it works with vmix simple text title in which you can add as many hours you need
doggy  
#5 Posted : Friday, January 12, 2024 12:42:57 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,084
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: SDKUCSS Go to Quoted Post
Thanks for the help Doggy, but I don’t think I explained myself correctly. For the countdown display, I’d like to have the total hours until the event. So it would be greater than 24 hours away. So an event happening three days from now would add 72 hours to the clock and it would display as “75:30:10” with hours, minutes and seconds displayed as the countdown.


Originally Posted by: nikosman88 Go to Quoted Post

Hello i dont know if possible directly in vmix but


vMix Script:

Code:
Dim enddate As DateTime = DateTime.Parse("2024-1-15 04:00:00")
Dim startdate As DateTime 
Dim ts As TimeSpan
Dim count as string

Do while true

startdate = DateTime.Parse(Date.Now)
ts = enddate.Subtract(startdate)
count=CStr((ts.Days*24) + CStr(ts.Hours)) & " Hrs, " & CStr(ts.Minutes) & " min, " & CStr(ts.Seconds) & " sec"

'API.Function("SetText",Input:="14",SelectedName:="Headline.Text",Value:=count)
console.writeline(count)
sleep(1000)
loop
Users browsing this topic
Guest
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.