Date Question


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

I'm using the TIMESTAMP() function within mysql to set the date/time for certain events. However, how would I go about formatting the output? For example it would display "2009-11-30 02:48:40".. how can I change that formatting around?

Did you know?Explore Trending and Topic pages for more stories like this.
Also, I wanted to do a sort to display items within my table monthly.. is there anything I can use to only pull/sort data by the month?
No comments posted yet

Your Answer:

Login to answer
51 Like 32 Dislike
Previous forums Next forums
Other forums

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

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

. and .. appearing instead of pictures
First of all, thanks very much for providing this forum. It is very much appreciated!

My son

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

generating random codes
Hi guys n gals,

I have a requirement to generate 250,000 unique codes...

These codes a

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

How to get variable value on next page
Hello friends
i am working on payentry page ..there i have this code.........

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

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