shrug-l: Extracting the year out of a date field and inputting that value in an Origin year field

Scott Crosby scrosby at alachuacounty.us
Mon Nov 15 14:03:26 EST 2021


EXTERNAL MESSAGE
This email originated outside of DEP. Please use caution when opening attachments, clicking links, or responding to this email.

Hi all,

I'm working with a timber stand layer and need to extract the year out of an Establishment date field (type is date) and input that value in an Origin year field (type is short integer). I see where there is an option in Field Calculator to calculate dates, but it appears that this can't be done in Field Calculator (I've tried several different times, but no success). Has someone written a python script that will do this extraction and input that value as a short integer into another field, or is there a tool in Arc Toolbox that will do this?

Thanks,
[cid:image001.png at 01D7DA29.699EFB60]<http://www.alachuacounty.us/Pages/AlachuaCounty.aspx>

Scott Crosby, SAF Certified Forester
Senior Environmental Specialist
Land Conservation and Management
408 W. University Ave Suite 106 * Gainesville * FL * 32601
352-264-6823 (office) * 352-213-0024 (mobile)
[cid:image002.png at 01D7DA29.699EFB60]<http://www.alachuacounty.us/Pages/AlachuaCounty.aspx>  [cid:image003.png at 01D7DA29.699EFB60] <https://www.facebook.com/AlachuaCounty/>   [cid:image004.png at 01D7DA29.699EFB60] <https://twitter.com/alachuacounty>   [cid:image005.png at 01D7DA29.699EFB60] <https://www.instagram.com/alachuacounty/>   [cid:image006.png at 01D7DA29.699EFB60] <https://www.youtube.com/user/alachuacounty>   [cid:image007.png at 01D7DA29.699EFB60] <http://www.alachuacounty.us/depts/communications/pages/updatenewsletter.aspx>

PLEASE NOTE: Florida has a very broad public records law (F.S.119).
All e-mails to and from County Officials and County Staff are kept as public records. Your e-mail
communications, including your e-mail address, may be disclosed to the public and media at any time.
..


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 13186 bytes
Desc: image001.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1595 bytes
Desc: image002.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1540 bytes
Desc: image003.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 927 bytes
Desc: image004.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2318 bytes
Desc: image005.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 838 bytes
Desc: image006.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0019.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 2067 bytes
Desc: image007.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0020.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AC_logo-150ppi_b0554e81-2d50-477d-8264-0219cbd8ac34.png
Type: image/png
Size: 18897 bytes
Desc: AC_logo-150ppi_b0554e81-2d50-477d-8264-0219cbd8ac34.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0021.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Home2_44a3d51e-b983-4237-8082-72394e0032c7.png
Type: image/png
Size: 1595 bytes
Desc: Home2_44a3d51e-b983-4237-8082-72394e0032c7.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0022.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fb_logo_150ppi_9dd00851-99d8-4342-8932-10cac01030c6.png
Type: image/png
Size: 1417 bytes
Desc: fb_logo_150ppi_9dd00851-99d8-4342-8932-10cac01030c6.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0023.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter_150ppi_9c3d56ae-20c9-4509-b852-4aaed5522edd.png
Type: image/png
Size: 1034 bytes
Desc: twitter_150ppi_9c3d56ae-20c9-4509-b852-4aaed5522edd.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0024.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insta_150ppi_5be81f1b-b06b-49ca-b309-54edd0545f55.png
Type: image/png
Size: 6522 bytes
Desc: insta_150ppi_5be81f1b-b06b-49ca-b309-54edd0545f55.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0025.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: youtube_150ppi_0da7ed3a-56a8-459c-b04c-ed8dfa1a388a.png
Type: image/png
Size: 967 bytes
Desc: youtube_150ppi_0da7ed3a-56a8-459c-b04c-ed8dfa1a388a.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0026.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: county_news_150ppi_14250fe5-78c3-4aa5-b059-283cc85fd4ea.png
Type: image/png
Size: 2006 bytes
Desc: county_news_150ppi_14250fe5-78c3-4aa5-b059-283cc85fd4ea.png
URL: <http://lists.dep.state.fl.us/pipermail/shrug-l/attachments/20211115/a34c9651/attachment-0027.png>


More information about the SHRUG-L mailing list