Skip to content

Instantly share code, notes, and snippets.

@asonas
Created February 20, 2012 06:40
Show Gist options
  • Save asonas/1868154 to your computer and use it in GitHub Desktop.
Save asonas/1868154 to your computer and use it in GitHub Desktop.
yky_birthday
<?php
$yky_birthday = '1993-01-12';
$hitday = date('Y-m-d', strtotime($yky_birthday.'- 280 day'));
echo $hitday."\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment