Welcome Guest, Not a member yet? Register   Sign In
How to insert NOW() in DATETIME field
#10

(03-12-2024, 02:01 AM)InsiteFX Wrote: No, you can specify what time to use.

PHP Code:
$myTime = new Time('now''America/Chicago''en_US'); 

Fair enough, but it requires that I know what timezone the database server is using. We don't need to nitpick this one Cool , I just wanted to point it out Smile

-joho
Reply


Messages In This Thread
How to insert NOW() in DATETIME field - by keop - 09-29-2020, 12:17 AM
RE: How to insert NOW() in DATETIME field - by joho - 03-12-2024, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB