Jump to content

Script control with time


Greaser9780

Recommended Posts

now() doesn't exist natively to php, it exists in MYSQL though. Here are two possible solutions, one for PHP and one for MYSQL (depending on what you actualy want):

 

- PHP

$time = time() + (0 * 12 * 00 * 00);

 

- MYSQL

DATE_ADD(NOW(), INTERVAL 12 HOUR)

 

Hope this helps

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.