Hi Experts,
I have a requirement where we have to get the input from user for the time fields, User want the time to be entered in HH:MM:SS in 24hrs format where SS is optional.
Below are the input with expected stored output
Input1: 23:55:55 Output: 23:55:55
Input2: 10:32 Output: 10:32:00
Input3: 23 Output 23:00:00
Input4: 231000 Output: 23:10:00
Input5: 2359 Output: 23:59:00
Input6: 23 Output: 23:00:00
Kindly suggest for the feasibility of such expression as how can we achieve this.
Discussion posts and replies are publicly visible