Changes to time processing

Fixed issue with time outputting incorrectly on form output causing time
to display X:X, now displays XX:XX in 24 hour time.