# Translate the date

**URL:** <https://forum.inductiveautomation.com/t/translate-the-date/27511>\
**Category:** Ignition\
**Created:** [August 16, 2019, 11:02am UTC](https://forum.inductiveautomation.com/t/translate-the-date/27511 "2019-08-16T11:02:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikkn](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@mikkn](https://forum.inductiveautomation.com/u/mikkn)\
**Post date:** [August 16, 2019, 11:02am UTC](https://forum.inductiveautomation.com/t/translate-the-date/27511/1 "2019-08-16T11:02:37Z")

</div>

hey  
i’m using the reporting module, to make a daily report, so we need the date to be showed at the front, but the date is in English, so my question is there a way to change date from spelled English to spelled on Danish, of cause in the report module?

I’m using:  
Reporting module version 5.0.3  
Ignition version 8.0.3

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 16, 2019, 12:06pm UTC](https://forum.inductiveautomation.com/t/translate-the-date/27511/2 "2019-08-16T12:06:15Z")

</div>

Hey, yourself. 🤪

I can see two ways of doing this:

- Create a script data source in your report:

```python
from java.text import DateFormat
from java.util import Locale

dateIn = data['StartDate']

l = Locale('da')

df = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, l)

data['FormattedDate'] = df.format(dateIn)

```

- Create a string tag that has the date formatted as you wish, and pass it in as a parameter. this has the advantage of being able to use it across multiple reports.

---

<div class="post-metadata">

**Author:** ![mikkn](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@mikkn](https://forum.inductiveautomation.com/u/mikkn)\
**Post date:** [August 20, 2019, 6:13am UTC](https://forum.inductiveautomation.com/t/translate-the-date/27511/3 "2019-08-20T06:13:13Z")

</div>

> [@JordanCClark](#):
>
> script data source

thank you, it helped
