using segmented controls for am pm.  will need to change all of the code for the am pm buttons.