how to add am pm or maybe a time picker similar to date

how to add am pm or maybe a time picker similar to date picker option for event time. currently user can only input 24 hrs using buddypress frontend submission.