hi friends i am developing a leave application,just we want to enter the leave details for the particular employee..it will display the balance leave and all details..if the person is taking a leave from 25/jan/2013 to 03/feb/2013 nearly 10days the employee is going to taken the leave..so the leave is for 7days for the month of january and 3days for the month of feb.how i can save this to the database,while preparing the payslip i want to retrive the total leave for the particular employee in the month january...