Transforming American Data for Brazil in Js

Asked

Viewed 45 times

0

I have the following date on JS : 2015-03-26T16:22-04:00 what code can I use to transform it into the Brazilian format?

  • 1

    And how is the Brazilian format?

  • 1

    Possible duplicate: http://answall.com/q/6526/129

  • in the example would be: 26/03/2015, the time I do not know pq has akele hifen

  • Take a look at the answer that Linkei, if you think it was in error we open again.

  • @Sergio is actually similar not equal, because in his example has the -04:00, that is this date in UTC, the result would be 26/03/2015 12:22:00, because it should decrease 4h.

  • exact @Guilhermelautert would have to stay that way, how can I do?

Show 1 more comment
No answers

Browser other questions tagged

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