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);
 
PREVIOUS NEXT
Tagged: #day #month #php
ADD COMMENT
Topic
Name
3+2 =