Posted 20 August 2006 - 04:49 PM
Posted 20 August 2006 - 04:51 PM
$now = time(); 'put this into the database
$joined = date("M j Y", $now); '$now from the database
Posted 20 August 2006 - 04:56 PM
((EMAIL CODE THAT WORKS))
((PAYPAL INTEGRATION THAT WORKS))
Posted 20 August 2006 - 05:20 PM
I would recommend using MySQL's date type. It's the easiest to work with, especially if you are going to be doing ordering or date manipulation.
Aside from that, I would go with varchar, because you are able to store a lot of different formats, including php's unix timestamp (which I think is what redarrow is saying to use INT), but you can also use YYYY-MM-DD if you chose, or any other format.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users