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

shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just

Please help with code for SMTP authenticated PHP email form
Hello, I'm creating a PHP email form, and for this particular server, I have to use SMTP Authenticat

Get ID from Database when Posting with a HTML Form
I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto

help with insert
Hi there,

I am trying to insert some data into a database, but for some reason, it is not ins

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

Business Health Check
Hello

I need to create an online business health check for a client it will be multiple choi

Upload file and add HTML
Hey everyone,

I have a client has meeting agendas and minutes that should be posted online. I

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

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