I had referred your code and it's nice, but small problem is that how to convert 24hr format to 12hr. Can you please share the answer ASAP?