with the help of someone on experts-exchange.com, i've got what i think is a really good time validation script that i thought i'd share. it converts military time to am/pm, and asks whether any time entered with the hour between 1 and 12 is am/pm if am/pm is not specified.