[Ionic 3] Date Picker Native

Hello good day!

I am using the native Date Picker plugin, so that the calendar appears instead of the wheel in my ionic v3 application. The query is the following:

When selecting the date, it returns a Promise object with the COMPLETE date !! including the time and everything …

Is it possible that I only return the date? Ex: 2018-08-19?

I have no idea, but date-fns can easily transform either ISO8601 strings or Date objects into any string format you wish, certainly including YYYY-MM-DD like you want.