Hello
Im trying to create something for my vBulletin forum. & i need to know how vBulletin time/date function work
as far as i know, it takes time from server
there's a date-time on every post like this : Mon 11th May '09, 2:29pm
for such thing, what kind of MySQL Table i need to use? DATE, DATETIME, TIMESTAMP, TIME, VARCHAR....etc ????
& what will be the command ?? suppose the field name is added_time
mysql_query("INSERT INTO `TABLE_NAME` (added_time) VALUES('??????????')");
yes i want this ???????? value.
& what will be the retrieve code...when i need to show this on a page
& there must be TIMEZONE thing...means, it should vary user to user according to their vBulletin TimeZone setup.
somebody plz help me
Im trying to create something for my vBulletin forum. & i need to know how vBulletin time/date function work
as far as i know, it takes time from server
there's a date-time on every post like this : Mon 11th May '09, 2:29pm
for such thing, what kind of MySQL Table i need to use? DATE, DATETIME, TIMESTAMP, TIME, VARCHAR....etc ????
& what will be the command ?? suppose the field name is added_time
mysql_query("INSERT INTO `TABLE_NAME` (added_time) VALUES('??????????')");
yes i want this ???????? value.
& what will be the retrieve code...when i need to show this on a page
& there must be TIMEZONE thing...means, it should vary user to user according to their vBulletin TimeZone setup.
somebody plz help me
Comment