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
  Variable Action "Find" command or alternate Shaky 3 782 11-02-2021, 08:19 PM
Last Post: Shaky
  Triggered Event only works every second time znelbok 2 1,274 10-27-2020, 12:05 PM
Last Post: znelbok
  Dynamically Build Call to Variable? gReatAutomation 8 2,485 05-08-2020, 01:22 PM
Last Post: gReatAutomation
  Handling Daylight Savings Time kblagron 10 3,292 03-17-2020, 07:35 AM
Last Post: Dean Roddey
  Timers Driver / Field Time Image / Seconds gReatAutomation 1 1,342 03-16-2020, 05:48 PM
Last Post: Dean Roddey
  Action wait and exit if variable changes simplextech 8 3,256 02-01-2020, 12:35 PM
Last Post: simplextech
  LogicServer Elapsed Time and Triggered Event gReatAutomation 6 2,712 08-17-2019, 07:53 AM
Last Post: gReatAutomation
  GVar... Variable GVar... Already Exists gReatAutomation 3 1,649 08-13-2019, 01:15 PM
Last Post: Dean Roddey
  Runtime Values gReatAutomation 4 1,495 08-12-2019, 06:07 PM
Last Post: gReatAutomation
  Use UI to alter scheduled event time IVB 1 1,308 07-09-2019, 08:42 PM
Last Post: IVB

Forum Jump:


Users browsing this thread: 1 Guest(s)