Date into CoreData

It was interesting. The main results are:

or

from https://stackoverflow.com/questions/38248941/how-to-get-time-hour-minute-second-in-swift-3-using-nsdate

and i desided to store date in CoreData as Transformable type.

But I also can do it as String usung something like:

Well bouth variants work.