E' presto detto: lo UNIX timestamp, non è altro che il numero di secodi intercorsi dalla UNIX epoch (1 gennaio 1970), ed è molto comodo da usare (anche grazie alle funzioni messe a disposizione da PHP) per date non antecedenti a quella.
IL timestamp di MySQL, è una data, disponibile in diversi formati e in diverse lunghezze, (la lunghezza esprime il numero di "elementi" contenuti nel timestamp, ad esempio timestamp(8) = 20041104 -> anno mese giorno).
Per citare il manuel di MySQL:
http://dev.mysql.com/doc/mysql/en/Da..._overview.htmlA TIMESTAMP column is useful for recording the date and time of an INSERT or UPDATE operation. The first TIMESTAMP column in a table is automatically set to the date and time of the most recent operation if you don't assign it a value yourself. You can also set any TIMESTAMP column to the current date and time by assigning it a NULL value.

Rispondi quotando