![]() |
Trying to get current date/time for logging of plugin in database?
I have a plugin that I'm trying to log the activity of. I created a table in my database and gave the dateline field a type of unsigned int(10) like all the dateline entries in the existing database.
I think the dateline is in epoch time, but I'm not sure the proper way that a plugin should fill that field. What variable should I use from vbulletin? Or do I just use regular php code to get server epoch time? |
I use TIMENOW for the current time. :)
|
TIMENOW would be correct.
|
All times are GMT. The time now is 08:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|