Make note that toISOString is not supported in all browser ( especially the older IE's ).
On Fri, Jul 25, 2014 at 7:41 AM, Sander Elias <[email protected]> wrote: > Hi Tarcisio, > > Not really an angular issue, just plain old JS.;) Angular is server > agnostic, so it does not know anything about your backend, and how it > want’s to receive its dates. > new Date().toISOString() should do the trick. > > Regards > Sander > > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Ganaraj P R -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
