?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/master/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/eldertree/application/views/master/list_payment_month.php |
<?php $start= $accademic_details->academic_year_start_date; $end=$accademic_details->academic_year_end_date; $dt=$accademic_details->academic_year_start_date; $options=" <select> <option></option> </select> "; while(strtotime($dt)<= strtotime($end)){ $month=date('m', strtotime($dt)); $year=date('Y', strtotime($dt)) ?> <label style="float:left;width:80px;"><?=date('M Y', strtotime($dt))?></label> <select name="month_date[]" class="required" style="width: 50px;clear: right;float: left;margin-bottom:10px;"> <?php for($i=1;$i<=$num = cal_days_in_month(CAL_GREGORIAN, $month, $year);$i++){ $day= str_pad($i,2,0,STR_PAD_LEFT) ?> <option value="<?=$year.'-'.$month.'-'.$day?>"><?=$day?></option> <?php } ?> </select> <div class="clear"></div> <?php $dt=date('Y-m-01', strtotime("+1 months", strtotime($dt))); } //echo $end; //echo date('Y-m', strtotime("+1 months", strtotime("09-12-1989"))) ?>