My client and server are at different time-zones.I am trying to get datetime in javascript but moment function or method toISOString() gives me string output. Even when I recreate the date object it again goes to GMT time. So how can I get date object without timezone issue?
Some lines from my code are as below. All return string and my ngModel is Date type.
this.Element.nativeElement.value = this.Element.nativeElement.value.toISOString();

