Skip to content

Instantly share code, notes, and snippets.

@glagola
Created May 31, 2012 14:36
Show Gist options
  • Save glagola/2843814 to your computer and use it in GitHub Desktop.
Save glagola/2843814 to your computer and use it in GitHub Desktop.
Get first day of previous month
<?php
$t = strtotime('first day of previous month');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment