Search

Add Days To Date

Last Updated: Feb 14, 2022

Articles

Use this function to add days to the input date.

Syntax

Add Days To Date (no_of_days, input_date, date_format)

Parameters

Input Parameter Name Description
no_of_days Number of days to be added
input_date Date in string format
date_format Date Format of the given date parameter
To know more about Date Format, click here.

Returns

Return value Description
Date Returns the modified date in the same format specified in date_format

Sample

Add Days To Date (2, 28/03/2021, %d/%m/%Y)

  • Adds 2 days to the date 28/03/2021 in the format %d/%m/%Y.
    Returns 30/03/2021.

To view all the Date functions, click here.

Did you find what you were looking for?