johndanter
Legendary Poster
Hi folks,
I have an issue where I am trying to write the duration a transaction occurred and just use get start and end time BSFNs and work out the difference
Issue is, when it's really fast the difference is ZERO as the seconds are the same
So BSFN GetSystemUTime is not good enough as I need the millsecond element
IN->[ 5] <Item>: TimeDateStart <type>: JDEUTIME <Value>: [12/06/18 17:58:59 (UTC)] (actually Dec 6 11:58:59.116550 in the log)
IN->[ 6] <Item>: TimeDateEnd <type>: JDEUTIME <Value>: [12/06/18 17:58:59 (UTC)] (actually Dec 6 11:58:59.989770 in the log)
So this actually took 80000 nanoseconds but the overall second difference is ZERO
Any ideas folks? What DD items store milliseconds and what BSFNs can retrieve and store this. CPUS?
I can't see any BSFN on F9862
Thanks
John
I have an issue where I am trying to write the duration a transaction occurred and just use get start and end time BSFNs and work out the difference
Issue is, when it's really fast the difference is ZERO as the seconds are the same
So BSFN GetSystemUTime is not good enough as I need the millsecond element
IN->[ 5] <Item>: TimeDateStart <type>: JDEUTIME <Value>: [12/06/18 17:58:59 (UTC)] (actually Dec 6 11:58:59.116550 in the log)
IN->[ 6] <Item>: TimeDateEnd <type>: JDEUTIME <Value>: [12/06/18 17:58:59 (UTC)] (actually Dec 6 11:58:59.989770 in the log)
So this actually took 80000 nanoseconds but the overall second difference is ZERO
Any ideas folks? What DD items store milliseconds and what BSFNs can retrieve and store this. CPUS?
I can't see any BSFN on F9862
Thanks
John
Last edited: