PHP Warning Fix

Getting rid of that annoying date error