help with a date checking thingy
Posted: Wed Apr 12, 2006 8:42 am
Hey guys 
I'm having a few probs with a script im trying to write.
i need to do something like:
It should be a simple little function, but despite all my best efforts, it just won't work!
Any of you know howto do thid?
I'm having a few probs with a script im trying to write.
i need to do something like:
Code: Select all
if(between("01/03","04/04")){ // if date between 1st March and 4th April
echo "01/03 - 04/04";
} elseif(between("01/12","01/03")){ // if date between 1st december and 1st march (the year after)
echo "01/12 - 01/03";
}Any of you know howto do thid?