<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: field calculating data from a short integer field to date field in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106709#M4140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to include a month and a day to get a consistent date value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbScript:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"01/01/" &amp;amp; Yr_install&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 20:05:41 GMT</pubDate>
    <dc:creator>TomSellsted</dc:creator>
    <dc:date>2015-02-10T20:05:41Z</dc:date>
    <item>
      <title>field calculating data from a short integer field to date field</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106708#M4139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate our values from one field called Yr_Install which is a short integer. to a new field called Year_Install which I created and made it a Date data type. When I try to field calculate the values from the short integer field which has the values 1968, 1914, 2014,2012 etc into the new year installed field all it does is populate the field with some random date and 1905 for all values.( i.e 6/8/1905)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the vb or python script to move the data over to the new field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:56:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106708#M4139</guid>
      <dc:creator>ErikBlake</dc:creator>
      <dc:date>2015-02-10T19:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: field calculating data from a short integer field to date field</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106709#M4140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to include a month and a day to get a consistent date value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbScript:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"01/01/" &amp;amp; Yr_install&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106709#M4140</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2015-02-10T20:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: field calculating data from a short integer field to date field</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106710#M4141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;Thanks for the help. We never kept day and month we were just concerned with the year. Is there anyway around that or do I have to just create a generic day and month for all the features&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 22:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106710#M4141</guid>
      <dc:creator>ErikBlake</dc:creator>
      <dc:date>2015-02-10T22:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: field calculating data from a short integer field to date field</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106711#M4142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have a specific month and day for them, you can just set them all to January 1st for that year.&amp;nbsp; When you are display the dates anywhere you can just display the year.&amp;nbsp; It might be best to just keep the field as an integer if you are only concerned with the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 22:53:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106711#M4142</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2015-02-10T22:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: field calculating data from a short integer field to date field</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106712#M4143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;Thanks. The only reason i am doing this is cause I want to test&amp;nbsp; out the LGIM and in order to import my data into the models schema I need to make sure that data types match for corresponding fields and the model has their year installed field as date. But maybe I will just make everything janurary like you suggested. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 23:00:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106712#M4143</guid>
      <dc:creator>ErikBlake</dc:creator>
      <dc:date>2015-02-10T23:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: field calculating data from a short integer field to date field</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106713#M4144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 23:12:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/field-calculating-data-from-a-short-integer-field/m-p/106713#M4144</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2015-02-10T23:12:19Z</dc:date>
    </item>
  </channel>
</rss>

