Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DataTable (date, working hour) question

0 views
Skip to first unread message

ApeX

unread,
Sep 1, 2010, 8:25:11 AM9/1/10
to
Hello,
I'm trying to find a solution to fill a DataTable in the following
way:

example:
*********************
Rules for breaking
X 07:00 - 21:59
Y 22:00 - 06:59

Working hours
11.8.2010 22:00 - 12.8.2010 08:00
13.8.2010 17:00 - 13.8.2010 23:00

needs to be broken down to:

2h X 11.8.2010
7h X 12.8.2010
1h Y 12.8.2010
5h X 13.8.2010
1h Y 13.8.2010
******************************

I can't seem to find the needed algorithm, i'm stuck, so if you have
any suggestions, please help :)

Thanx!

0 new messages