I am consuming an API that returns a date-time field in form of a string YYYYMMDDHHMMSS.
For the sake of readability for the users who need to see it in a readable form, how can I convert this into dd/mm/yyyy and display the time separately in the form hh:mm:ss?
For example: '20201127100602' convert to: Date: 27/11/2020 , Time: 10:06:02
Any help will be appreciated.