> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/date-functions/subtract-days.md).

# Subtract Days

Kalipso - Form - Expressions - Functions - Functions Descriptions - Date Functions - Subtract Days

This Function returns a *\<string>*, which is the date resultant of the subtraction from the specified **Source Date** of the **Days to Subtract**.

### Parameters

* **Source Date** *\<string> -* Date to subtract the **Days to Subtract** from. This parameter must be in format YYYYMMDD.
* **Days to Subtract** *\<numeric> -* Days to subtract from the Source Date.

### **Examples**

* *Example 1*

SubDays("20210307", 6)\
**Result** = 20210301
