two timestamp formats ???

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

two timestamp formats ???

Post by Docstone »

Hi Team!

i tried to query some statistical data out of the databases and found something confusing me!

in table "_faqdata", field "datum" the Thimestampformat is "JJJHMMDDHHMMSS" AS VarChar. thats ok for me!

but in the table "_faqvisits", the field "last_visit" is filled with an INT figure, which i can hardly interpret.

Please give me some hint to transpond this into a "normal" timestamp!

greetings,

Jörg
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this has historical reasons. We'll change this in the future.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

Post by Docstone »

Hi Thorsten!

can you tell me how to convert this INT - Number to some "understandable" timestamp?

cu,
Jörg
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it's a UNIX timestamp.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply