Time & Date Vs Date
Submitted by EastsideVetEmerg on Tue, 20/09/2016 - 21:49
Hi,
I have an archetype with the following expression:
concat('Medical Questionnaire: ', date:formatDate(/activityStartTime))
but this gives me the date only.
is it possible to modify the above expression to get a date AND time?
Alternatively - can someone point me how I could get this information.
Thanks,
Adrian
Re: Time & Date Vs Date
You could use:
date:formatDateTime(/activityStartTime, 'MEDIUM')
In 1.9, there is also the date:format() function e.g.
date:format(/activityStartTime, 'dd/MM/yy HH:mm')
See Date Functions for more details.
Re: Time & Date Vs Date
Perfect. thanks