--- title: "Get First Day of the Month" slug: "get-first-day-of-the-month" updated: 2021-03-12T15:05:23Z published: 2021-03-12T15:07:04Z canonical: "documentation.decisions.com/get-first-day-of-the-month" --- > ## 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 First Day of the Month Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 5.13.1 | | **Root Folder** | Example Lab - Get First Day of the Month | | **Modules** | None | | **Dependencies** | None | This Example Lab demonstrates how to use a Flow to take a DateTime value as an input to return the first day of that month. --- ## Explanation This **Converter Flow** takes in a DateTime input and then outputs a DateTime value of the first date of that month. This works by first formatting the Date into a "MM/YYYY" String, then parsing that String back into a DateTime. Because the String has no day, it defaults to the first of the month that is being parsed. Reference Articles[Using Converter Flows](https://documentation.decisions.com/docs/using-converter-flows) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-236.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 5.13.1 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[GetFirstDateOfMonth].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BGetFirstDateOfMonth%5D.zip) ---