hi, there.
i am writing an annual leave system using php.
the case is like this:
- staff can log in to see their remaining annual leave
- every staff is given 18 days per year
- last year annual leave can be brought forward to this year
- for instance, last year, i got 5 days annual leave remained, so, this year, i will have 18+5 days
- the annual leave can be accumulated
i can do the login part, but i don't know how to manage the yearly leave. how can i let the system add 18 days on 1st January every year?
can anyone show me some hints?
or, do you know any url teaching this?
thank you very much.