Well, actually I´m calculating time spent on consulting a client (customer). We have different rates depending on when the job is done.
So if the job starts at 15:30 and ends at 23:00, the customer should pay for 1,5 horus daytime (to 17:00) and 5 hours evening time and 1 hour nighttime. So for every calculation I have two parameters involving both hours and minutes and 4 different timerates, before 8 oclock, between 8 and 17, between 17 and 22 and after 22. So it gets a bit complicated.
And if you cant use the actual time, like 17.15 it gets nearly imposible.
If I should write this in normal code I should have used variables and started to fill them with time and in the end have four variables which each should have hold the time for mornig, day, evening and night, but as I understand Aware doesn´t work the same way as a programming language?
Sounds easy, but thats the difference between the human brain and computers.
/Rem