# Kirby index field - customise date

**URL:** <https://forum.getkirby.com/t/kirby-index-field-customise-date/10977>\
**Category:** Questions\
**Tags:** v2\
**Created:** [August 6, 2018, 1:18pm UTC](https://forum.getkirby.com/t/kirby-index-field-customise-date/10977 "2018-08-06T13:18:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sun](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sun](https://forum.getkirby.com/u/sun)\
**Post date:** [August 6, 2018, 1:18pm UTC](https://forum.getkirby.com/t/kirby-index-field-customise-date/10977/1 "2018-08-06T13:18:50Z")

</div>

I’m using the [Kirby-Index-Field](https://github.com/jongacnik/kirby-index-field) plugin and it’s great, however, I need to format the dates in one of the columns. It’s currently outputting `2018-07-26T13:01:45+00:00 ` ideally, I need something like `26-07-2018`. The description says you can do this through a filter, but I’m not sure how to use the template code given. Any pointers in the right direction would be appreciated.

```
<?php

class MyDataFilters {
  static function myfilterfunc($data) {
    // filter data here
    return $data;
  }
}

```

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [August 6, 2018, 5:35pm UTC](https://forum.getkirby.com/t/kirby-index-field-customise-date/10977/2 "2018-08-06T17:35:11Z")

</div>

@jongacnik, could you help with this, please?

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:26pm UTC](https://forum.getkirby.com/t/kirby-index-field-customise-date/10977/3 "2025-02-06T17:26:30Z")

</div>


