MySql timezone


Posted on 16th Feb 2014 07:03 pm by admin

Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE tutorialid='1' ORDER BY commentid DESC LIMIT $offset, $rowsperpage";
Can I change the timezone for the date_format? i dont know how.. i need it in PST please help

No comments posted yet

Your Answer:

Login to answer
202 Like 11 Dislike
Previous forums Next forums
Other forums

Help please - How to validate from 2 possible answers
Hi

I hope somebody can help me with what will probably be really simple, I'm pulling my hair

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

Appending GET data with form submition
Okay, what I'm trying to do is to use a form to append an already existing GET data string.

I

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t

order by date not ID number help php
I am trying to orginize the following code to order by date not id number.
any help would be grea

How would I protect......
I have a from, actually, a good amount of forms. How can I make it so you can't type the characters:

Problems with array
This code is the last lines in an upload script that uploads 4 images at the same time and writes th

Two fgetcsv related questions ;D
First of im trying to get a file from a merchants server but the directory is protected, I know the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash