Convert a long (Java) Date to Date

As a newby I run into a small problem. In my database I have a Date field that is an epoch date from Java. I need to convert it into a Date/Time field. Is there a function in Mendix or do I need Java to do this? Thanks Mark
1 answers

If you import the Community Commons module from the App Store in your project, you have access to a Java function LongToDateTime.