Changind the date format using the unix style date formating because the
date(int, int, int) is deprecated