I'm wondering if it's possible to the current year (e.g. 2018) and convert it to integer within a XLSForm.
I'm trying to extract the Year Date, send it to a number value and then do additional calucations and functions to the value for other fields.
Something like the following:
{Current Year} = Int(Year(Today()))
Thanks,
Adam Munro
Solved! Go to Solution.
format-date(today(),'%Y')
More details about formatting date objects:https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis and Formulas—Survey123 for ArcGIS | ArcGIS
format-date(today(),'%Y')
More details about formatting date objects:https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis and Formulas—Survey123 for ArcGIS | ArcGIS