---
title: "Comment by Torben Dehn on \"Get the first and last date of the month - Power Automate Desktop\" | Hashnode"
description: "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"
url: "https://hashnode.com/posts/get-the-first-and-last-date-of-the-month-power-automate-desktop/61b762160059f90a57a573b5/comment/6297200bd84600f9c4ff1e7c"
---

[Discussion](https://hashnode.com/posts/get-the-first-and-last-date-of-the-month-power-automate-desktop/61b762160059f90a57a573b5)

Comment [Get the first and last date of the month - Power Automate Desktop](https://hashnode.com/posts/get-the-first-and-last-date-of-the-month-power-automate-desktop/61b762160059f90a57a573b5)

[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
