Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Time formatting RunTime Time Variable?
#1
Any way to format the time string from the runtime variable %(StdRTV:HHMMSS)
Reply
#2
alternatively, how can I change the format of the timestamp runtime variable?

[Image: Screen-Shot-2019-08-13-at-20-39-38.jpg]

Including timestamp simply sends me the hex value and I am not sure how to format the time in this instance as it is not clear in the docs.
Reply
#3
The document here describes it:

[CQC]CQCData/HTMLRoot/Web2/CQCDocs/Reference/IntfWidgets/TimeDateText.html
Reply
#4
(08-13-2019, 09:30 PM)kblagron Wrote: The document here describes it:

[CQC]CQCData/HTMLRoot/Web2/CQCDocs/Reference/IntfWidgets/TimeDateText.html

Thanks I saw that but read it like only applies to formatting time in widgets:

"This widget... There are field based and static versions of this widget. "

[Image: Screen-Shot-2019-08-14-at-06-31-47.jpg]

I am trying to form at time inside of a triggered action using the time from the Runtime value


[Image: Screen-Shot-2019-08-14-at-06-33-15.jpg]
Reply
#5
I think I found it under System -> FormatTimeVal
Reply
#6
Got this to work:

[Image: Screen-Shot-2019-08-14-at-09-21-49.jpg]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Triggered Event only works every second time znelbok 2 728 10-27-2020, 12:05 PM
Last Post: znelbok
  Dynamically Build Call to Variable? gReatAutomation 8 1,489 05-08-2020, 01:22 PM
Last Post: gReatAutomation
  Handling Daylight Savings Time kblagron 10 2,147 03-17-2020, 07:35 AM
Last Post: Dean Roddey
  Timers Driver / Field Time Image / Seconds gReatAutomation 1 787 03-16-2020, 05:48 PM
Last Post: Dean Roddey
  Action wait and exit if variable changes simplextech 8 2,176 02-01-2020, 12:35 PM
Last Post: simplextech
  LogicServer Elapsed Time and Triggered Event gReatAutomation 6 1,722 08-17-2019, 07:53 AM
Last Post: gReatAutomation
  GVar... Variable GVar... Already Exists gReatAutomation 3 1,043 08-13-2019, 01:15 PM
Last Post: Dean Roddey
  Runtime Values gReatAutomation 4 984 08-12-2019, 06:07 PM
Last Post: gReatAutomation
  Use UI to alter scheduled event time IVB 1 843 07-09-2019, 08:42 PM
Last Post: IVB
  Creating a Variable Double_J 13 3,720 06-22-2019, 03:40 AM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)