- var_dump: documentation ( source)
- date_default_timezone_set: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
date_default_timezone_set('UTC');
var_dump(
date('d.m.Y',strtotime('last day of this month')),
date('d.m.Y',strtotime('Last day of this month')),
date('d.m.Y',strtotime('lAst Day of This Month'))
);