cloudy
05-30-2007, 02:15 AM
hi all,
is me again. now i have another probelem deal with the date.
i have to textbox to let the user insert the start date and end date and then one checkbox to let the user checked whether they wan to apply the half day leave or not.
after user click submit button, it will calculate the total leave at the backend, then dispaly the applicaiton information again before insert into the DB.
i will prepare another module to let the admin add on when is the public holiday.
the question is:
how can i retrieve the date from the start and end date from the user input and then compare with the weekend and public holiday.
if the date they applied involve the weekend(saturday and sunday) or public holiday, then the total leave they apply will reduce due to the not working day.
do u all have any idea?can guide me more.
i feel guilty to bring u all alot of problems as i m a beginner of ASP and also jz learn how to do a system..
hope to hear from u soon.
thank you.:)
is me again. now i have another probelem deal with the date.
i have to textbox to let the user insert the start date and end date and then one checkbox to let the user checked whether they wan to apply the half day leave or not.
after user click submit button, it will calculate the total leave at the backend, then dispaly the applicaiton information again before insert into the DB.
i will prepare another module to let the admin add on when is the public holiday.
the question is:
how can i retrieve the date from the start and end date from the user input and then compare with the weekend and public holiday.
if the date they applied involve the weekend(saturday and sunday) or public holiday, then the total leave they apply will reduce due to the not working day.
do u all have any idea?can guide me more.
i feel guilty to bring u all alot of problems as i m a beginner of ASP and also jz learn how to do a system..
hope to hear from u soon.
thank you.:)