Skip to content

Instantly share code, notes, and snippets.

@pulading1988
Created August 1, 2017 05:41
Show Gist options
  • Save pulading1988/9250f70c3ddb35e4b028c6886f5e1072 to your computer and use it in GitHub Desktop.
Save pulading1988/9250f70c3ddb35e4b028c6886f5e1072 to your computer and use it in GitHub Desktop.
php获取当前时间前一个月bug
date('Ym', strtotime('-1 month', strtotime("first day of this month"))),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment