calculation date display
I want to have a calculation field displaying something in the lines of
Tommerup, 17th of May 2017, USA
The eligeble fields are
@Infodag by = text field (City name)
@Mødedato = datef field
@Infodag fokus = text field (additional info)
My initial calculation looks like this.
Is there any way to make it be in the lines of Tommerup, May 17 2017, USA ?
To format date use moment() : doc at https://momentjs.com/docs/#/displaying/
var date = moment(@Mødedato).format("MMM DD YYYY")
@Infodag + ", " + date + ", " + @Infodag fokus
Please sign in to leave a comment.