Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

getting last day of next month in php

$lastDateOfNextMonth =strtotime('last day of next month') ;

$lastDay = date('d/m/Y', $lastDateOfNextMonth);

 

print_r($lastDay);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #day #month #php
ADD COMMENT
Topic
Name
6+6 =