Allocates the difference between two Times.
Smart code
Syntax
GetTimeDifference(Variable,From Time,To Time,Control Name)
Parameters
- Variable(Required) – Name of the variable to store the length of the given string.
- From Time (Required) – From Timing for the difference.
- To Time (Required) – To Timing for the difference.
- Control Name (Required) – Select the control name to be displayed.
Direct Code
Syntax
try {
var <<Variable_Name>>=await Orefuncs.GetTimeDiff(<<From_Time>>, <<To Time>>, “<<Control_Name>>”, this.state)
}
catch(ex) {
OreAlert.alert(ex.message);
}
this.setState({ spinner: false });