Date and time Format

Ion-datetime input looks like that "“2019-08-31T06:31:38.586+03:00"” when it is converted to string.
The thing is, regardless of picking date or time, the output in both cases contains both date and time. How can time or date be isolated from the string depending on whether ion-datetime is used for picking time or date?