By Melvin Dev
the time if you are using the app in your Windowsphone, tablet or Pc.
Object / Properties
When you are working on a project and you need to use helpers like date you need to press enter on date-- and it will be show the appropiate date keywords available.
The following example demostrate how to use the intellisense, we will create a small app that demostrate how to use these keywords.
Click inside on the opening "article Tage" to start coding
Tip: You can use the 'Indent' button to format line code.
var getDate = new When selected
new in the intellisense box Press enter to retrieve the constructors.
Then type Date, when selected
Date() press enter, our code looks like this by now
var getDate = new Date()
Now we have using the contructor
Date() We will use the
date-- helper to get the Current date.
document.getElementById('dt').innerHTML= getDate then press dot (".") key and type
the intellisense will select
date-- when selected
see the following image
toLocaleDateString then press enter, our code looks like the following.
var getDate= new Date();
Here is the complete code.