View Single Post
Old 10-19-2012, 05:10 AM   PM User | #13
havish
New Coder

 
Join Date: Jul 2012
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
havish is an unknown quantity at this point
Quote:
Originally Posted by Fou-Lu View Post
$dtEnd must be exclusive on dateperiod.
Add this directly before the datePeriod creation: $dtEnd->add($di);.

As for your data, I myself would probably track the absentee. Assuming that there is specific guidelines to follow that dictate when a day should be in attendance, then recording only those absent would reduce the amount of dataspace required. This of course assumes that on average the majority of the student population is present and not absent.
Ok Fou-Lu I tried it out but facing some problems still. Will try my best to rectify it else will come back
havish is offline   Reply With Quote