How to convert a current data_to a data_formatted with php?

Asked

Viewed 21 times

1

How to convert the date "2017-06-19 15:09:00.000000" to "19-06-2017" with php.

  • uses object-oriented or structured style?

  • and there is something done there? if yes share

  • I am receiving a Json that has the date in the format "2017-06-19 15:09:00.000000" and I would like to save this in a variable in the Brazilian format "19-06-2017".

  • I think you better save it this way and at the time of displaying format to the Brazilian format

  • How this format for the Brazilian format?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.