Zach.E
December 8, 2022, 7:41pm
1
Hello,
Is it possible to enter seconds as a decimal using the date picker component or is there another way of capturing tenths of a second?
I have been unable to find a simple method of doing this with the provided components but could perhaps find a work around using buttons.
Thanks,
Zach
enchev
December 9, 2022, 9:56am
2
Hi @Zach.E ,
I'm afraid that this is not possible.
Zach.E
December 9, 2022, 4:24pm
3
I understand.
As a workaround for anyone else trying to support fractional seconds I created two properties on page load that store individual parts of the datetime (hours, minutes, seconds, and milliseconds) and bound numeric components to one of the properties.
Then I created a change event on each of the numerical components to add the change value to the corresponding part of the datetime.
Here is how it looks on the form:
Just make sure you set the max and min of the numeric components to their logical state. Such as 9 and 0 for tenths of a second.
Thanks,
Zach