Page 1 of 1
date?
Posted: Thu Dec 28, 2006 3:33 pm
by moiseszaragoza
By any chance is there a way i can convert
08/08/2006 to
August/Tues/2006
and is there a way to get a holyday list?
Posted: Thu Dec 28, 2006 4:09 pm
by John Cartwright
Code: Select all
echo date('F/N/Y', strtotime('08/08/2006'));

Posted: Thu Dec 28, 2006 4:17 pm
by moiseszaragoza
Thanks
you would not know how to check against holydays?
Posted: Thu Dec 28, 2006 4:43 pm
by John Cartwright
moiseszaragoza wrote:Thanks
you would not know how to check against holydays?
Yes I do, but why don't you make an attempt first and we'll nudge you from there. Hint, you want to convert your values into ordinal values, as in values you can compare that are in order -- such as a timestamp.
Posted: Thu Dec 28, 2006 4:57 pm
by Kieran Huggins
Holidays are.... localized at best, subjective at worst.
You should keep a database / include file / some sort of list of the ones that are important to you and check against that.
Posted: Thu Dec 28, 2006 6:30 pm
by hawleyjr