I have a timestamp in the below format - Fri 6Jun21 11:11:11.402 pm
and I'd like to do two things -
- add proceeding 0 before 6Jun21 so it reads 06Jun21, and ignore for double digit occurrences
- Convert time into 24h format
Final output should look like Fri 06Jun21 23:11:11.402
I tried traditional formatting and unable to do so. I'm trying to avoid parsing as regex and add an overhead on my processing.