# Getting the month name

**URL:** <https://forum.servoy.com/t/getting-the-month-name/4366>\
**Category:** Classic Servoy\
**Created:** [June 16, 2005, 2:11pm UTC](https://forum.servoy.com/t/getting-the-month-name/4366 "2005-06-16T14:11:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morley](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Morley](https://forum.servoy.com/u/Morley)\
**Post date:** [June 16, 2005, 2:11pm UTC](https://forum.servoy.com/t/getting-the-month-name/4366/1 "2005-06-16T14:11:13Z")

</div>

Before I invent the wheel, is there an i18n method of getting the name of the month in the current language? If day.getMonth() returns 1 and the language is English, supply the name “February”.

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [June 20, 2005, 4:47pm UTC](https://forum.servoy.com/t/getting-the-month-name/4366/2 "2005-06-20T16:47:41Z")

</div>

Morley,

This is controlled by the locale - and should happen automatically. To test it - change your locale to spanish or some other language, restart Servoy and check it out.
