I have a date that is a return of the database that comes in this format yyyy-mm-dd HH:mm:ss.fff
, how can I turn it into dd-mm-yyyy HH:mm
Example:
My date is like this: 2015-01-16 07:49:45.0
and I want to leave it this way: 16-01-2015 07:49