javascript - Angular date error -


in angularjs i'm trying use date() function milliseconds

'2014-11-19 10:58:16' 

with function

var n = new date.parse('2014-11-19 10:58:16'); 

but i'm getting weird error

typeerror: function parse() { [native code] } not constructor 

how can fix this?

as frédéric hamidi posted in comment shouldn't have used

new date 

but

date 

thank frédéric hamidi


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -