I have two numerical fields {vst.end_time} and {vst.begin_time} which display military time as numbers. I just want the difference im minutes between the two.
When I have {vst.end_time} = 1325 and {vst.begin_time} = 0905 I want 295 minutes difference not 420.
//When I try the following it errors out because
//{vst_non_vst.begin_time} is numerical not a date;
Local DateTimeVar d1 := {vst_non_vst.begin_time};
Local DateTimeVar d2 := {vst_non_vst.end_time};
DateDiff ("n", d1, d2)
When I have {vst.end_time} = 1325 and {vst.begin_time} = 0905 I want 295 minutes difference not 420.
//When I try the following it errors out because
//{vst_non_vst.begin_time} is numerical not a date;
Local DateTimeVar d1 := {vst_non_vst.begin_time};
Local DateTimeVar d2 := {vst_non_vst.end_time};
DateDiff ("n", d1, d2)