SQL
Date Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |The number of complete [partitions](#docs:sql:functions:datepart) between the dates. |
| **Example** | `datesub('month', DATE '1992-09-15', DATE '1992-11-14')` |
| **Result** | `1` |
| **Alias** | `date_sub`. |