Hi Aruna75,
Not sure what is the exact idea behind your questions but you have following approaches to format times:
1. In case of parameter definition - use Date\Time parameter type that allows to use and customise time formats. See LR help documentation for more details.
2. For general needs use C libraries to manipulate time strings in script code.
Hope that this will help you...
Yuriy