hello i want to convert DateTime to decimal my problem when i click he put the date of today i want changed TODAY to ALL days or any date
can you help me please this is my function DateTime Todecimal
ServLaborAllocationEntry."Start Date-Time":=DateTimeToDecimal(TODAY,TIME,'UTC');
LOCAL DateTimeToDecimal(date : Date;time : Time;timeZoneCode : Code[10]) decimalDate : Decimal
IF (date = 0D) THEN
EXIT(0);
IF time = 0T THEN
EXIT((date-01010000D) * 86.4 - L_TZDiff*3.6)
ELSE
EXIT(((date-01010000D) * 86.4) + (time - 000000T)/1000000 - L_TZDiff*3.6);