--- title: "Get Previous Month Start/End Date" slug: "get-previous-month-startend-date" updated: 2023-03-06T18:21:49Z published: 2023-03-06T18:21:49Z canonical: "documentation.decisions.com/get-previous-month-startend-date" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Previous Month Start/End Date | Step Details | | --- | | **Introduced in Version** | 8.10.0 | | **Last Modified in Version** | - | | **Location** | Data > Date | --- The '**Get Previous Month Start/End Date**' step will output the start and the end date of the previous month based on the DateTime provided as input to the step. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Date | Reference DateTime to determine the previous month | DateTime | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | End Date | This will return the End DateTime of the previous month | DateTime | | Start Date | This will return the start DateTime of the previous month | DateTime | --- ## Example Inputs and Outputs In the following example, we can see that the input to the step is March 15, 2023 and the step outputs the Start date as February 1, 2023 and the End date as February 28, 2023. | Input | Output | | --- | --- | | 2023-03-15 00:00:00 | Start Date | 2023-02-01 00:00:00 | | End Date | 2023-02-28 00:00:00 | Note:This step will maintain the same time in the output as it was originally entered in the input field while only altering the date![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1678099593778.png) --- Related Information Similar step: [Get Next Month Start/End Date Step](/step-library/docs/get-next-month-start-end-date)