Date calculation
Posted: Wed Jul 02, 2008 11:15 pm
Hi
I need to calculate next payment date based on start payment date and mode of pament (i.e yearly, quarterly, half-yearly and monthly)
If the start payment is 2008-07-08 (Y-m-d) and mode of payment is half yearly than the next payment date would be 2009-01-08 .
For the next time, the next payment date would be start payment date and we need to calculate next payment date.
Same with other modes of payment(quarterly, yearly and monthly)
Is there any inbuilt function in Php for this? or may be is there any efficient way to perform this action
Any suggestions
Thanks
sampada
I need to calculate next payment date based on start payment date and mode of pament (i.e yearly, quarterly, half-yearly and monthly)
If the start payment is 2008-07-08 (Y-m-d) and mode of payment is half yearly than the next payment date would be 2009-01-08 .
For the next time, the next payment date would be start payment date and we need to calculate next payment date.
Same with other modes of payment(quarterly, yearly and monthly)
Is there any inbuilt function in Php for this? or may be is there any efficient way to perform this action
Any suggestions
Thanks
sampada