Hi,
i have a Problem: I want to convert a time interval in some days.
My source file provides the following fields:
0EMPLOYEE | 0DATEFROM | 0DATETO | HOURS | DAYS |
---|---|---|---|---|
0815 | 18.05.2015 | 20.05.2015 | 30 | 3 |
4711 | 08.06.2015 | 09.06.2015 | 15 | 2 |
The time interval is to be implemented in single days. The number of hours per day is calculated as the hours / days. The result should look like this:
0EMPLOYEE | 0CALDAY | HOURS |
---|---|---|
0815 | 18.05.2015 | 10 |
0815 | 19.05.2015 | 10 |
0815 | 20.05.2015 | 10 |
4711 | 08.06.2015 | 7,5 |
4711 | 09.06.2015 | 7,5 |
How can i Programm the (start-)routine?
Regards
J.V.