---
title: "Discussion on \"Get the first and last date of the month - Power Automate Desktop\" | Hashnode"
description: "Discussion on \"Get the first and last date of the month - Power Automate Desktop\". How to work with dates in Microsoft Power Automate Desktop - PAD"
url: "https://hashnode.com/posts/get-the-first-and-last-date-of-the-month-power-automate-desktop/61b762160059f90a57a573b5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Get the first and last date of the month - Power Automate Desktop](https://mzeiner.hashnode.dev/get-the-first-and-last-date-of-the-month-power-automate-desktop?utm_source=hashnode&utm_medium=feed)

How to work with dates in Microsoft Power Automate Desktop - PAD

Dec 13, 2021 · 3 min read · mzeiner.hashnode.dev  
Read the article

-   [#automation](https://hashnode.com/tag/automation)

## Written by

[Morten Ingemann Zeiner](https://hashnode.com/@MZeiner)

@MZeiner · Denmark

  
[View profile](https://hashnode.com/@MZeiner)

RPA Developer

I am an RPA-developer from Denmark. I have a non-technical background but have taught myself web development working with RPA-tools for the past two years. In the past I've worked with KofaxRPA and UiPath but am now working with Microsoft Power Automate and RoboCorp.

## Responses 1

Markdown supported · ⌘↵ to post

[Torben Dehn](https://hashnode.com/@HighBoy)

[Jun 1, 2022](https://hashnode.com/posts/get-the-first-and-last-date-of-the-month-power-automate-desktop/61b762160059f90a57a573b5/comment/6297200bd84600f9c4ff1e7c)

Hello Thanks for sharing your date manipulation. I have used it, and there seems to be a problem with your method of getting the first day of a month. Today is 01-06-2022 What happens when you subtract 1 from that... I get an error as I can't subtract 1 from 01-06-2022
