Changed date output to YYYY-MM-DD HH:MM:SS instead of unix