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" 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -