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

mysql_query returning boolean instead of mysql ressource
Hi,

I seem to have a weird issue with the php command mysql_query. I pass 2 arguments the que

email form (cannot find the problem)
Hello there. I've been having trouble with an email form. Can't find the problem really. I've tested

How to insert random unique values in 2 columns ?
I have table with 2 columns

Create Table code_for_code (
first_code varchar2(10) uni

Need help urgant
why down my code ony return one item instead of all the items selected.

$arr = array($date,$

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

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

Problem writing URL into database
How would I write this into the database?

<?php echo "http://".$_SERVER['SER

sql problems
I am having a small problem with my sql statement. it is inserting into 4 of the fields.

fie

Cant display mysql data
Hey all,

I am learning php and my first goal is to create a simple CMS. At the moment I am st

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