Online Forum To Support Coders With Technical Assistance - Read Write Execute

Get next month first day

Ankit Agrawal
Ankit Agrawal
Published on February 23, 2016 · 1 min read
<?php
  $aTime = strtotime('first day of +1 month');
  $aDate = date("d/m/Y",$aTime); 
?>
Was this article helpful?
Ankit Agrawal

Ankit Agrawal

Author & Senior Engineer at CodeExecute

Writing practical engineering guides, debugging real-world bottlenecks, and creating free tools for developer productivity.

← Previous Article Change folder name without change its actual place by htaccess Next Article → display:Inline vs display:block