<?php
$LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-06-01")));
echo "$LastFridayOfMonth where 'month' is May\n" ;
$LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-07-01")));
echo "$LastFridayOfMonth where 'month' is June\n" ;
$FirstFridayOfMonth = date('Y-m-d', strtotime("first Friday", strtotime("2013-10-31")));
echo "$LastFridayOfMonth where 'month' is November\n"
- Output for 5.4.0 - 5.4.15
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in q2q6b on line 11
Process exited with code 255. - Output for 5.3.25
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/beM0n on line 11
Process exited with code 255. - Output for 5.3.0 - 5.3.24
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in q2q6b on line 11
Process exited with code 255.
preferences:
168.02 ms | 1395 KiB | 49 Q