Add a check to msParseTime() to detect null or empty input strings. No point in trying to parse.