Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1751

Truncate date field

$
0
0
Hello

I have an annexation layer that has Annex_Date field in mm/dd/yyyy format. I am trying to extract just the yyyy part. I have added a new field called Annexation_Year, and I am trying to calculate the records. I have tried to use DatePart and DateYear function for VBScript without any success. Any other suugestions on how this can be handled?

Thanks,
Ruchi Bhutani
GIS Analyst

Viewing all articles
Browse latest Browse all 1751

Trending Articles