mysql timestamp manipulation


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

How could I use a timestamp (e.g 2009-10-30 13:20:35 ), and with php find out if it is:

from today
from this week
Did you know?Explore Trending and Topic pages for more stories like this.
from this month
from the last 3 months
from the last 6 months
from this year
from 1 year ago
etc etc

?

Thanks
No comments posted yet

Your Answer:

Login to answer
216 Like 11 Dislike
Previous forums Next forums
Other forums

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

PHP hyperlinks generator - HELP plz
Hi

I need some help to get this done using php:


1 - I have few hyperlinks say 500

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

Help with lottery style system?
I'm working on a currency system for forums and it is going to have a type of lottery system built i

How to know if online site made with PHP
Hello,
I see some sites that does not display extensions at all , for example:

www.site.co

what does this mean? +=
is anyone able to explain what this code is saying?

i had it written for me awhile back and n

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

PHP hyperlinks generator
Hi

I need some help to get this done using php:


1 - I have few hyperlinks say 500

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