View Full Version : Dateline
nulltone
03-25-2003, 12:28 PM
If I wanted to manually insert a post into the database, how does the feild 'dateline' work/read?
Xenon
03-25-2003, 12:34 PM
it's the standard unix timestamp (seconds gone since the 1.1.1970) so you have to enter the value of time() for now.
nulltone
03-25-2003, 12:44 PM
Ah ha! Thank you oh so very much.
filburt1
03-25-2003, 01:11 PM
Today at 09:34 AM Xenon said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=373008#post373008)
it's the standard unix timestamp (seconds gone since the 1.1.1970) so you have to enter the value of time() for now.
Or the MySQL function UNIX_TIMESTAMP. For some reason vB uses a lot of extra PHP work instead of just having MySQL do it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.