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