Created:
Jun 25, 2018 05:35 AM
| Last Modified: Jun 25, 2018 3:21 AM(9614 views)
Hi,
I was just wondering if there was a way for JSL to tell how much time it has been since a particular start point. For example, is there a function that could output the time difference between the start time 00:00:00 and 00:00:01? Or a function that could add one second onto 00:00:00 to make it 00:00:01. Just curious as it would save me some time. Also, is there a function to convert HH:MM:SS to minutes in JSL? If not, what would you suggest to be the simplest way of doing such a conversion?
Created:
Jun 25, 2018 09:31 AM
| Last Modified: Jun 25, 2018 6:32 AM(9795 views)
| Posted in reply to message from Jaz 06-25-2018
JMP uses seconds as the measure of time and the basis for dates. The value 0 is equivalent to 12:00 AM January 1, 1904. So the subtract function can take the difference in seconds between two time or date values. Similarily, the add function can be used to directly increment a time or date value by one second.
You can easily enter a literal value (constant) using the DDMmmYYYY:HH:MM:SS.S form, so 25Jun2018 is today.
Thanks for the help. I'm using an older version of JMP so it doesn't have any other examples. Do you have any idea how I would use the function for timings?
Created:
Jun 25, 2018 09:31 AM
| Last Modified: Jun 25, 2018 6:32 AM(9796 views)
| Posted in reply to message from Jaz 06-25-2018
JMP uses seconds as the measure of time and the basis for dates. The value 0 is equivalent to 12:00 AM January 1, 1904. So the subtract function can take the difference in seconds between two time or date values. Similarily, the add function can be used to directly increment a time or date value by one second.
You can easily enter a literal value (constant) using the DDMmmYYYY:HH:MM:SS.S form, so 25Jun2018 is today.