date function
Posted: Wed Sep 28, 2005 11:55 pm
how to diffrentiate date-month-year with current date-month and year, individually,
I wrote a logic on it, I was enough confident it will not work,
the logic is here
where par_dt[0] gets date and 1 gets month and 2 gets year
but this doesnt work
I wrote a logic on it, I was enough confident it will not work,
the logic is here
Code: Select all
if( (($par_dt[0] >= $even_dt[0]) || ($par_dt[1] >= $even_dt[1]) || ($par_dt[2]>= $even_dt[2]) || ($event_status == 'Open')) || (($par_dt[0] < $even_dt[0]) || ($par_dt[1]< $even_dt[1]) || ($par_dt[2] < $even_dt[2]) && ($event_status == 'Open')))but this doesnt work