Fix a crash bug at GetLocalTimeStamp

The length of int array about date time is 7, not 6