Easy transform date format d-m-y => y-m-d on PHP

/ Published in: PHP
Save to your folder(s)

This changes the date format from d-m-y to y-m-d on PHP. It's easy to change the - to / or spaces...

URL: http://www.php.net/manual/es/function.date.php#81946

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.