Calculate current date to 180days

How to calculate current date to after 180 days

Not sure what you mean here. Can you describe your problem in more detail?


He wants to add days to a date, perhaps by using the following function:

function addDays(date, days) {
    var result = new Date(date);
    result.setDate(result.getDate() + days);
    return result;

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.