Jump to content

semi monthly


homer.favenir

Recommended Posts

hi to all,

how can i achieve this?

i have

$dateloan = '2009-01-01';
$duedate = '2009-07-01';
$months = 6;

and i want to have a list of semi months

starting from $dateloan to $duedate.

e.g.

01/15/2009
01/30/2009
02/15/2009
02/28/2009
03/15/2009
03/30/2009
04/15/2009
04/30/2009
05/15/2009
05/30/2009
06/15/2009
06/30/2009

 

please help

 

thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/146476-semi-monthly/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.