Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
DateTime
I am experimenting with creating an MD hook entry to intercept TCL select commands.
I want to use the Q syslists record to see if the last entry was selecting records, but I need to match the time&date from the TCL last command.
I see this in the SYSLISTS Q record But I dont know how the highlited datetime value is created.
I tried Idate.iTime the result I pasted in row 7 (got from doing a 'ogit' call). SRP editor oconv gets it right, so must be a legit iDateTime.
So, how do I create that value:?
I want to use the Q syslists record to see if the last entry was selecting records, but I need to match the time&date from the TCL last command.
I see this in the SYSLISTS Q record But I dont know how the highlited datetime value is created.
I tried Idate.iTime the result I pasted in row 7 (got from doing a 'ogit' call). SRP editor oconv gets it right, so must be a legit iDateTime.
So, how do I create that value:?
Comments
Check out https://wiki.srpcs.com/display/SRPUtilities/SRP_DateTime
Maybe if I rephrase the question.
How do I get this:
to look like that:
oDateTime = '10/15/2023 07:30:59AM' iDateTime = SRP_DateTime('Parse', oDateTime)
AfterOTimeDate =timedate() swap " " with @fm in AfterOTimeDate oDateTime = AfterOTimeDate<2> :" ": AfterOTimeDate<1> iDateTime = SRP_DateTime('Parse', oDateTime)