I am creating a site that relies heavily upon dates. In my database i have 3 date fields. I need to run these dates with date() and strtotime() functions mainly. I seem to have problems running these functions on the DATETIME and TIMESTAMP formats that come out of the mysql database. Do these functions require a unix time format?
Let me clarify my use for strtotime():
date("F j, Y", strtotime("Thursday", $blar));
where $blar is a value of either DATETIME OR TIMESTAMP formatting and not a current time.
Should i convert $blar to unix time as i draw it out of the database, or can i run some other functions on it? Which type is better to have my date fields in mysql?
Arrgh, i'm just confusing myself.
THanks for any and all help.