Last active
December 14, 2015 21:49
-
-
Save o0h/5154029 to your computer and use it in GitHub Desktop.
次の日曜日になるまでどのくらいかかるかを取得します
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function get_days_until_next_nichiyoubi(){ | |
| return 6 -(date_create()->format('n')); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment