[UPHPU] Why do forums use Int(11) for dates?
Benjamin Schmuhl
schmuhl at gmail.com
Thu Apr 6 13:48:52 MDT 2006
The easiest way to deal with dates after 1970!
See the strtotime() function.
-----Original Message-----
From: uphpu-bounces at uphpu.org [mailto:uphpu-bounces at uphpu.org] On Behalf Of
TJ Hunter
Sent: Thursday, April 06, 2006 1:02 PM
To: Brandon Stout
Cc: UPHPU.org
Subject: Re: [UPHPU] Why do forums use Int(11) for dates?
On 4/6/06, Brandon Stout <hplsbyufan at imapmail.org> wrote:
> 1. Why do people use Int(11) instead of Date fields?
> 2. What is today in Int(11) date format?
It unix timestamp format. In my opinion, is the easiest way to deal
with dates with php+mysql.
see the php time() function
-TJ
More information about the UPHPU
mailing list