Category Archives: php

PHP RFC3339 date for Google Calendar API

$date = new DateTime(); echo $date->format(DATE_RFC3339);

Posted in computing, php | Leave a comment

PHP Find end of the month/last day of month

<?php echo date(“t-m-Y”); ?> The ‘t’ option of date returns the number of days in the month.

Posted in computing, php, web development | Leave a comment