Hello,
I have been assigning sample ID using a calculate field from the date and time as shown below. It used to work perfectly (although made a very long sample ID) However, since the last update it no longer works and just returns "GO_" in our surveys. I have a feeling this has something to do with the change from epoch? But I scarcely know what I am talking about. At any rate, can you suggest a fix? I also attached the full .xlsx just in case.
Thanks!!
Lori
| type | name | label | hint | constraint | constraint_message | required | required_message | appearance | default | readonly | relevant | calculation | choice_filter | repeat_count | label::language1 | hint::language1 | media::audio | media::image | body::accuracyThreshold | bind::esri:fieldType | bind::esri:fieldLength | bind::esri:fieldAlias | body::esri:inputMask | | | | | | | | |
| dateTime | DATES | Date and time | | | | yes | | | now() | yes | ${specimen_collected} = 'yes' | | | | | | | | | | | | | | | | | | | | |
| text | calc_sample_id | Specimen label | | | | | | | | | ${specimen_collected} = 'yes' | concat("GO","_", date(${DATES})) | | | | | | | | | | | | | | | | | | |