I've rarely touched PHP date functions,
and now I need to do the follows:
- get current date,
- get date of three days later
- get date of three weeks later
- get date of three month later
- get date of three years later
and finally to implement such a function:
function dage_generate($number,$unit)
{
}
$unit
can be day/week/month/years