Refactored MilitaryTime functions
Changed GetTimeCodes to loop over the length of the string rather than a hard-coded number

This should save someone some hassle in the future...