Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

strtotime last day of month

<?php

//Create DateTime object from specified date.
$date = new DateTime('2012-02-01'); 

//Print out your desired result by using
//the format method
echo $date->format('Y-m-t');
Source by thisinterestsme.com #
 
PREVIOUS NEXT
Tagged: #strtotime #day #month
ADD COMMENT
Topic
Name
4+1 =