add days to date Javascript

To add days to javascript use :

    // days added 
    var days=5;
    var ms = new Date().getTime() + (86400000 * days);
    var added = new Date(ms);

Comments

Popular posts from this blog

OCR text detection with google APIs C#

The specified version string contains wildcards, which are not compatible with determinism.

How to set dynamically height/width of an external image in rdlc report?