PHP date formatting
Fixed some syntax errors