Title: How to get month name in jasper studio expression editor
Tags: jasper-reports
Question: I am using this command to get the date in jasperstudio expression editor

```new SimpleDateFormat("dd.MM.yyyy").format($F{day_date})
```

This will return date value example like 01.01.2010 however i want the month to have a name like 01.Jan.2010 -- please advise 


Here is the accepted answer: In your specified format "dd.MM.yyyy", MM gives you the month as a number. 

You can use "dd.MMM.yyyy" to get an abbreviated month name.

Similarly, if you need the full month name you can use "dd.MMMM.yyyy"



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:04/14/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<jasper-reports>', 'Title': 'How to get month name in jasper studio expression editor', 'ViewCount': 2060, 'id': 36614771, 'user_AboutMe': '<p>CSS | HTML | Electronic</p>\n', 'user_AccountId': 5966353.0, 'user_DisplayName': 'Electronic Circuit', 'user_Reputation': 335.0, 'user_Views': 99.0, 'user_id': 4690053.0}}