I am storing timestamps in my database as such:
04-16-2018 13:15:39
To create additional logic, it would be nice to alter a timestamp so it would have the year in the front of the string, like so:
2018-04-16 13:15:39
Is there a handy way of doing this?