Remove millisecond from current Timestamp

1
Hi , How to remove milliseconds from current timestamp? I am getting 2015-01-11T01:53:00.000Z in this format but expecting 2015-01-11T01:53:00
asked
1 answers
1

I assume you want to represent it without the milliseconds, because the date entity always saves the whole date time. Take a look at the formatDateTime command here: https://world.mendix.com/display/refguide6/Parse+and+format+date+function+calls You also need to check this: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

Regards,

Ronald

answered