Nov 28

need a way to find all the dates in between? well this currently works with months. but can be adjusted to do days, years, etc. all you need to do is supply a begining date and an end date. it returns an array which can be used for anything,

function between_dates($begin_date, $end_date) {
    $t = date("Y-m",strtotime($begin_date));
       
    $i=0;
    do {
    $my[$i] = date("F Y", (strtotime("{$end_date} +$i months")));
    $mys = date("Y-m", (strtotime("{$end_date} +$i months")));
    $i++;
    }
    while($mys < $t);

    return $my;
}

Your Ad Here
Nov 21
flowerpoop updates
icon1 admin | icon2 PLAIN | icon4 11 21st, 2008| icon3No Comments »

old_ex-lax_boxHowdy, whats new flowerpoopers. not a whole lot for me. just work work work. I am happy to say that there are new horizons for me to look forward to. a trip to another country, things that mature, work easing up (hopefully) that’s another story altogether. I have been working odd hours trying to get things laid out, but of course there are things that get in the way. people who are not pleased, and deadlines that i can’t make. Who do i please first? Apparently it has to be me, and i have not been doing a great job of doing that, next my wife, whom i have been neglecting as well. I have been having my nose buried in my job so long i have not noticed whats going on around me. I get so distracted at times from all the things around me it makes my life at work very difficult. bells ringing, people talking, darts flying. Its hard for a person with a.d.d. When at home, its a much better place. not many distractions, but if i don’t do enough husband-ly duties, it does not bode well for me. a roc and a hard place right? yup.

unfortunately I don’t have a back up plan. nor do i have anything except my knowledge in coding. one of these days I will have something. but till now will have to make due. Yikes~!!!!

laters

Your Ad Here