<?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: Model Builder:&amp;nbsp; Calculate Field with Date Parameter Results in Odd Time Value in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397040#M13517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kirsten,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for reviving an old post but did you ever get an answer to this? I have the same issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Gino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 06:44:25 GMT</pubDate>
    <dc:creator>GinoMellino</dc:creator>
    <dc:date>2017-01-06T06:44:25Z</dc:date>
    <item>
      <title>Model Builder:  Calculate Field with Date Parameter Results in Odd Time Value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397039#M13516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to build a model in which I have a Date data type Parameter that is used in the Calculate Field tool that places that value in a field of a feature class.&amp;nbsp; See attached screenshot.&amp;nbsp; If the variable is '6/19/2014' the field in the feature class displays '12:00:14 AM'.&amp;nbsp; If the variable is '5/2/11' or '05/02/2011' it results in '12:01:47 AM'.&amp;nbsp; If the user defines a date and runs the model as a tool, it comes out at '12:00:00 AM'.&amp;nbsp; The field in the feature class is a date field type.&amp;nbsp; How do I force the date into the feature class field as an actual date with no time (or date plus generic time 12:00:00)??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34710[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 20:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397039#M13516</guid>
      <dc:creator>KirstenFrost_Andersen</dc:creator>
      <dc:date>2014-06-18T20:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder:  Calculate Field with Date Parameter Results in Odd Time Value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397040#M13517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kirsten,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for reviving an old post but did you ever get an answer to this? I have the same issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Gino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 06:44:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397040#M13517</guid>
      <dc:creator>GinoMellino</dc:creator>
      <dc:date>2017-01-06T06:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder:  Calculate Field with Date Parameter Results in Odd Time Value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397041#M13518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a little tricky because so many data formats have different storage formats. Date fields in dbf (shapefiles) don't even support time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some good examples in the help here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/calculate-field-examples.htm#ESRI_SECTION1_AFC203DD316B4543A729B413C3322F3C" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/calculate-field-examples.htm#ESRI_SECTION1_AFC203DD316B4543A729B413C3322F3C"&gt;Calculate Field examples—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 06:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397041#M13518</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-01-06T06:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder:  Calculate Field with Date Parameter Results in Odd Time Value</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397042#M13519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response...Embarrassingly it turned out to simply need the quotation marks. I am using inline variables so I just changed it from&amp;nbsp;%Observation Date% to&amp;nbsp;'%Observation Date%' and it worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Gino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 02:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-nbsp-calculate-field-with-date/m-p/397042#M13519</guid>
      <dc:creator>GinoMellino</dc:creator>
      <dc:date>2017-01-09T02:01:33Z</dc:date>
    </item>
  </channel>
</rss>

