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?

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

Printing a webpage
I use this to print the webpage: o

Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly.

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

Grouping and sorting results
Please help with this query.

I have 2 tables in a database, countires and cities. states look

Trying to add functions to table
I have this list of characters and I'm trying to figure out what I have to do to put the results of

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

mail() says sent but no email received
My code is quite simple:

Code: <?php
$to = "Ty44ler@yahoo.com";
$subje

Best PHP Documentation generator
Hello guys!

I would like to hear from you what is the best PHP documentation generator. Perso

Problem with Sending Mail by PHP
hello all,
I m new to php, can u plz provide me the code to send mail by php having CAPTC

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