Changed date comparison to use server UTC time.