# \#dates

**URL:** https://community.silverfin.com/tag/dates/202.md

[Latest](https://community.silverfin.com/latest.md) · [Categories](https://community.silverfin.com/categories.md) · [Tags](https://community.silverfin.com/tags.md)

---

## [CASE: how to compare dates](https://community.silverfin.com/t/case-how-to-compare-dates/2322)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 0\
**Last updated:** [July 22, 2022, 12:13pm UTC](https://community.silverfin.com/t/case-how-to-compare-dates/2322 "2022-07-22T12:13:31Z")

</div>

When comparing dates, it’s a good practise to format the dates to a specific date format (check out our overview here). The reason behind this, is that the dates can have a different format from one another, causing any …

---

## [Date of Special Report - Silverfin template](https://community.silverfin.com/t/date-of-special-report-silverfin-template/1832)

<div class="topic-metadata">

**Author:** [@Zena](https://community.silverfin.com/u/Zena)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 3:21pm UTC](https://community.silverfin.com/t/date-of-special-report-silverfin-template/1832 "2020-06-30T15:21:53Z")

</div>

Hi everyone! I am quite new to the liquid code, I just finished my first text template, which is working successfully! Now, I am working on my second text template, which is going fine, but I would like to refer in my …

---

## [If statement with fixed date](https://community.silverfin.com/t/if-statement-with-fixed-date/1801)

<div class="topic-metadata">

**Author:** [@AlexanderDB](https://community.silverfin.com/u/AlexanderDB)\
**Replies:** 1\
**Last updated:** [May 28, 2020, 12:43pm UTC](https://community.silverfin.com/t/if-statement-with-fixed-date/1801 "2020-05-28T12:43:24Z")

</div>

Hi, I stuk with an If statement: If statement should do the following: “if” detailwagen.custom.aanschaffingsdatum \< 01/01/2018 then warningtext … in code : {% assign oude\_regeling\_PW = '01/01/2018' | as:date %} …

---

## [CASE: calculate with dates](https://community.silverfin.com/t/case-calculate-with-dates/1597)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 0\
**Last updated:** [November 6, 2019, 1:39pm UTC](https://community.silverfin.com/t/case-calculate-with-dates/1597 "2019-11-06T13:39:50Z")

</div>

We have added a bunch of date filters: advance\_year, retract\_year, advance\_years, retract\_years, advance\_month, retract\_month, advance\_months, retract\_months, advance\_week, retract\_week, advance\_weeks, retract\_weeks, a…
