Bob, That is exactly what I am doing.Bob Hansen wrote:But what JBurger is looking for sounds like he may have imported the time from some other process, and assigned it to Time2. So he will still need to parse the time into the correct format.
I used the VBS suggestion from Marcus, but I set get the string error.
Here is my script. What am I doing wrong??
Code: Select all
VBSTART
VBEND
//ASSIGN VARIABLES
Let>IFile=C:\Macros\configs\HVAC.ini
//At start of script/process get current time
VBEval>Now(),StartTime
ReadIniFile>IFile,CONTROL,LTime,rLTime
Label>Main
VBEval>TimeValue("%rLTime%"),TimeRes
VBEval>datediff("n","%StartTime%","%TimeRes%"()),MinsElapsed
Thanks for helping
-Joe