turn date array into integer array for vibration pattern