MYSQL GMT question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Texan
Forum Newbie
Posts: 9
Joined: Mon Dec 20, 2004 9:23 pm

MYSQL GMT question

Post by Texan »

OK, I am inserting some data in my db. but I want to use datetime for two
columns: entry_time_local & entry_time_gmt. In the SQL I know that the local
time entry is just now() but how do I get the gmt time? Do I need to build the
string manually or is there a built-in function for this?

Thanks
Wldrumstcs
Forum Commoner
Posts: 98
Joined: Wed Nov 26, 2003 8:41 pm

Post by Wldrumstcs »

Post Reply