2
I’m taking the date informed by the user, who selects from a datepicker. In the form the format is displayed right dd/mm/yyyy, but the problem is when I take the date to play in a variável, she comes in the following way:
Wed Mar 23 2016 00:00:00 GMT-0300 (BRT)
How do I convert variável in yyyy/mm/dd? 
'cause I’m gonna need that information to get it into my bank.
Thanks Marllon, I’ll try.
– GustavoSevero
There are other ways, okay? If you want me to edit the answer and add it to you... but this solution, in my opinion, is the simplest.
– Marllon Nasser