vMix Forums
»
General
»
GT
»
Countdown clock more than 24 hours
Rank: Member
Groups: Registered
Joined: 5/15/2022(UTC) Posts: 15 ![United States United States](/Content/images/flags/US.png) 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?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,171 ![Belgium Belgium](/Content/images/flags/BE.png) Location: Belgium Thanks: 288 times Was thanked: 942 time(s) in 778 post(s)
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/15/2022(UTC) Posts: 15 ![United States United States](/Content/images/flags/US.png) 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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 404 ![Greece Greece](/Content/images/flags/GR.png) Location: athens Thanks: 115 times Was thanked: 63 time(s) in 59 post(s)
|
Originally Posted by: SDKUCSS ![Go to Quoted Post Go to Quoted Post](/Themes/yafpro/icon_latest_reply.gif) 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,171 ![Belgium Belgium](/Content/images/flags/BE.png) Location: Belgium Thanks: 288 times Was thanked: 942 time(s) in 778 post(s)
|
Originally Posted by: SDKUCSS ![Go to Quoted Post Go to Quoted Post](/Themes/yafpro/icon_latest_reply.gif) 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 Go to Quoted Post](/Themes/yafpro/icon_latest_reply.gif) 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