A simple query:
My datalinq source uses 00:00:00
but for hockey, in my scorebar, I only want it to be 00:00 and preferably when time is under 10 mins to show only 3 digits
Can I modify the text object to control this?
Thanks
Whit
You need to add a script to text object in order to convert the text in DateTime and then to format as you wish.Right click on text object > Edit Script Events > OnSetText (tab), paste this script and compile it (F7)
Dim Time as DateTimeDim MyFormat as StringTime = Convert.ToDateTime(Text)MyFormat = "H:mm"Text = Format(CDate(Time), MyFormat)
Test it in Sequence mode.
Link: https://www.dropbox.com/s/pojtjg2gedkoeva/Time%20Format%20H-mm.xpf?dl=0
Have FUN!
Gabriel
Thank you Gabriel. Obviously more than one way to skin a cat. This script works perfectly.
Thanks again
62 Auriga DriveNepean, OntarioCanada, K2E 7W6
Phone+1 613 228-0688Emailcommunity@rossvideo.com
LoginJoinHelp/FAQEventsrossvideo.com
Terms and ConditionsPrivacy PolicyDMCA Policy