episphere / quest

experimenting with the idea of a questionnaire markup
https://episphere.github.io/quest/
2 stars 11 forks source link

#currentMonth function #378

Closed joshid-ims closed 2 years ago

joshid-ims commented 2 years ago

currentMonth (in numbers 1-12, not text like Jan, Feb, etc. ) function like #currentYear is required to code Biospecimen questionnaire.

danielruss commented 2 years ago

2 macros:

currentMonth returns a digit from 1->12

currentMonthStr returns Jan, Feb, Mar,...,Dec

wiki updated... please close,

joshid-ims commented 2 years ago

Daniel, can you please post a ink to WiKi where this multiplication function is documented there?

danielruss commented 2 years ago

https://github.com/episphere/quest/wiki/Updated-displayif-function#handling-simple-math