Hello,
I am creating a survey that has a date field which contains a full date (month/day/year) as well as a year field. Is it possible to pull the year out of the Date type field using the Pulldata calculation? or is there another way to format a second Date type field to only show the year?
Thanks.
Hello David,
I think the function your are looking for is the format-date function. You can just format the recorded datetime value to year only.
Details of this function can be found in the Date formatting section of the Formulas page.
Formulas—Survey123 for ArcGIS | Documentation
Cheers,
Sun
See this post
https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.