tommeekers
Programmer
Hi,
I need a little help creating a calender system which I can use to determine the "working hours" for my company for the next year.
For example: I wanna set the default working hours from 8am to 5pm, monday till friday. Then I want to set the 24th and 25th of may as days off. I also wanna set the holiday from the 1ste of july till the 25th. And finally I wanna add a few days in the year where we would only work till 1pm instead of 5pm.
What would be the best way to make a form for this kind of input ? I'm guessing a calendar would be easy.
Also how would I store all of this in a database ? Create a record for every day ? Create only records for the "exceptions" (holidays, shorter days, ...) ?
Any help and/or examples would be greatly appreciated.
I need a little help creating a calender system which I can use to determine the "working hours" for my company for the next year.
For example: I wanna set the default working hours from 8am to 5pm, monday till friday. Then I want to set the 24th and 25th of may as days off. I also wanna set the holiday from the 1ste of july till the 25th. And finally I wanna add a few days in the year where we would only work till 1pm instead of 5pm.
What would be the best way to make a form for this kind of input ? I'm guessing a calendar would be easy.
Also how would I store all of this in a database ? Create a record for every day ? Create only records for the "exceptions" (holidays, shorter days, ...) ?
Any help and/or examples would be greatly appreciated.