Your logic is a bit out. You're testing every char in newTime against the first char in COLON - it would validate an input like "::::". Your technique for validating your input is ok - it's not as...
Type: Posts; User: Sean4u
Your logic is a bit out. You're testing every char in newTime against the first char in COLON - it would validate an input like "::::". Your technique for validating your input is ok - it's not as...