I have to send a date javascript to my controller via FullCalendar
. In my action, I'm getting a DateTime
and I need to send through the javascript file with new Date(minha_variavel)
.
But when I do this, it comes with the -3 hours time zone, that is, if I select 10/08/2015 00:00:00 on FullCalendar
, I get the controller on the following date: 09/08/2015 21:00:00 .
Is there a way to get past the date without this happening?