Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $tahun=2017;
- $i=0;
- $d='';
- while($d<date('Y-m-d',strtotime("{$tahun}-12-31"))){
- $d=date('Y-m-d',strtotime("{$tahun}-01-01"." +".($i++)." day"));
- echo $d."<br>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement