vMix Forums
»
General
»
GT
»
Countdown clock more than 24 hours
Rank: Member
Groups: Registered
Joined: 5/15/2022(UTC) Posts: 17  Location: Ohio Was thanked: 2 time(s) in 2 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?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,326  Location: Belgium Thanks: 299 times Was thanked: 981 time(s) in 814 post(s)
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/15/2022(UTC) Posts: 17  Location: Ohio Was thanked: 2 time(s) in 2 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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 588  Location: athens Thanks: 146 times Was thanked: 79 time(s) in 75 post(s)
|
Originally Posted by: SDKUCSS  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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,326  Location: Belgium Thanks: 299 times Was thanked: 981 time(s) in 814 post(s)
|
Originally Posted by: SDKUCSS  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  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
|
|
|
|
vMix Forums
»
General
»
GT
»
Countdown clock more than 24 hours
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