# Is a date in this fiscal year or last fiscal year?

**URL:** <https://community.blaze.today/t/is-a-date-in-this-fiscal-year-or-last-fiscal-year/25774>\
**Category:** Snippet Exchange\
**Created:** [January 20, 2023, 9:44pm UTC](https://community.blaze.today/t/is-a-date-in-this-fiscal-year-or-last-fiscal-year/25774 "2023-01-20T21:44:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Hall](https://community.blaze.today/user_avatar/community.blaze.today/andrew_hall/32/6231_2.png) [@Andrew\_Hall](https://community.blaze.today/u/Andrew_Hall)\
**Post date:** [January 20, 2023, 9:44pm UTC](https://community.blaze.today/t/is-a-date-in-this-fiscal-year-or-last-fiscal-year/25774/1 "2023-01-20T21:44:30Z")

</div>

{note: preview=no}Assumes a fiscal year that starts on October 1st of any given year{endnote: trim=left}  
Your payment of {formtext: name=price2} on {formdate: YYYY-MM-DD; end={time: YYYY-MM-DD}; name=payment\_date2} was for {if: datetimediff(payment\_date2, {time: YYYY-MM-DD; at={=currentyear}-10-01; pattern=YYYY-MM-DD}, "D")\>0}the previous fiscal year{else}the current fiscal year.{endif}{note: preview=no}{currentyear={time: YYYY; shift=-1Y}}{endnote}

---

<div class="post-metadata">

**Author:** ![Dylan](https://community.blaze.today/user_avatar/community.blaze.today/dylan/32/5609_2.png) [@Dylan](https://community.blaze.today/u/Dylan)\
**Post date:** [January 23, 2023, 4:38pm UTC](https://community.blaze.today/t/is-a-date-in-this-fiscal-year-or-last-fiscal-year/25774/2 "2023-01-23T16:38:42Z")

</div>

Nice 👍
