Fix EZP-18506: Undefined txtHour[0] warning when using Date Picker

Problem occures on ezdate whic does not have time (minute and hour).
Patch by Bartek Modzelewski