angularjs - How to remove timezone in JavaScript? -
i time , format
{{transaction.submittime | date:'yyyy-mm-dd hh:mm:ss z'}}
it returns
2015-04-23 02:18:43 +0700
but want show without +0700
, hour plus 7. how can that?
try d = new date(); d.tolocalestring(); // -> "2/1/2013 7:37:08 am" d.tolocaledatestring(); // -> "2/1/2013" d.tolocaletimestring(); // -> "7:38:05 am"