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

Need help making a script that moves data into acrhive table
Hi,

I'm kinda new to php/mysql

And i wrote a simple script to store sales lead for a b

PHP and SMS
Hi all forum members. I am new here and am unsure what category shoild I post this in.
Moderator

Amatuer requiring assistance
Beginner and amateur in need of assistance

My Site - (Spare Parts for Domestic Appliances)

help with Get_
ok some how this is not working i am not sure what i am doing wrong here but what this does is when

php multiple action on submit
I have a form which says:

<form enctype='multipart/form-data' method='post' action='pr

how to use two buttons with php
hi i have one form. there are three fields which are to be filled by the user. and then there are tw

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

How to show next and prev records
Hi all,

Sorry if this is simple, i'm very new to php, well, any programming language actually

Table trouble
i have been reading the forum for a few weeks and decided to join. i like the format and the advice

server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase

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