Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check if date is older than 1 month

 if(strtotime('2011-08-19 17:14:40') < strtotime('-30 days')) {
     // this is true
 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #check #date #older #month
ADD COMMENT
Topic
Name
2+3 =