<?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: How to enter TIME format via DI Studio in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60558#M13132</link>
    <description>I reproduced your problem, and it seems like a bug to me. My Time8. formatted fiels are displayed as a datetime value, and it does not accept any time or datetime values I tried out. I suggest that you report this to tech support.&lt;BR /&gt;
&lt;BR /&gt;
Linus</description>
    <pubDate>Tue, 11 Nov 2008 10:34:53 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2008-11-11T10:34:53Z</dc:date>
    <item>
      <title>How to enter TIME format via DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60555#M13129</link>
      <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to enter a time8. format into a SAS dataset via edit mode in DI studio.&lt;BR /&gt;
&lt;BR /&gt;
However, the system keeps on complaining about a wrong format unless I build a job to table-load an existing time8. value from another table into my target table.&lt;BR /&gt;
&lt;BR /&gt;
Copy/Pasting exactly this value from the source does also not work.&lt;BR /&gt;
&lt;BR /&gt;
How do I need to enter the time into a time8. cell?&lt;BR /&gt;
&lt;BR /&gt;
Not working is:&lt;BR /&gt;
- 1960-01-01 18:00:00&lt;BR /&gt;
- 18:00:00&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot and regards,&lt;BR /&gt;
Thomas</description>
      <pubDate>Mon, 10 Nov 2008 19:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60555#M13129</guid>
      <dc:creator>ThomasH</dc:creator>
      <dc:date>2008-11-10T19:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter TIME format via DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60556#M13130</link>
      <description>Hi:&lt;BR /&gt;
  There are 2 different concepts in regards to SAS Date/Time values:&lt;BR /&gt;
1) How the number is DISPLAYed (using a SAS FORMAT) and, &lt;BR /&gt;
2) how the number is INPUT -- if you are using SAS to perform data entry or reading data INTO a SAS dataset, then you must use a SAS INFORMAT.&lt;BR /&gt;
&lt;BR /&gt;
  What can be confusing is that the names of the FORMATs and INFORMATs can be the same. And just because you have a SAS FORMAT for display does not mean that you have a SAS INFORMAT for entering data via SAS.&lt;BR /&gt;
&lt;BR /&gt;
  Suppose for, example, that a person's birthdate is Nov 15, 1950. The "internal" value for that SAS date value is -3334. I can DISPLAY that number with the date9. FORMAT and then the DISPLAYed valued would be: 15NOV1950. If I wanted to perform data entry into a SAS dataset, without an INFORMAT, I would have to enter that date as -3334. If I had an INFORMAT of MMDDYY10., then I could type 11/15/1950 into a cell. If I had an INFORMAT of DATE9., then I could type 15NOV1950 into the cell. &lt;BR /&gt;
&lt;BR /&gt;
Most times, folks don't worry about setting an INFORMAT because they're not doing "data entry" or they're not reading "raw data"  into SAS such that they need an INFORMAT. However, you might check your table settings to make sure that both a FORMAT and an INFORMAT have been set for your dataset.&lt;BR /&gt;
&lt;BR /&gt;
If you need more help using DIStudio or setting INFORMATS, you might consider contacting Tech Support.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 10 Nov 2008 22:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60556#M13130</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-11-10T22:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter TIME format via DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60557#M13131</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
thanks - of course the informat is set. In this case, as stated, it's TIME8. However, I am not able to enter 18:00:00, 18.00.00, 1960-01-01 18:00:00...and looking for the correct way to enter it.&lt;BR /&gt;
&lt;BR /&gt;
Rgds,&lt;BR /&gt;
Thomas</description>
      <pubDate>Tue, 11 Nov 2008 07:48:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60557#M13131</guid>
      <dc:creator>ThomasH</dc:creator>
      <dc:date>2008-11-11T07:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter TIME format via DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60558#M13132</link>
      <description>I reproduced your problem, and it seems like a bug to me. My Time8. formatted fiels are displayed as a datetime value, and it does not accept any time or datetime values I tried out. I suggest that you report this to tech support.&lt;BR /&gt;
&lt;BR /&gt;
Linus</description>
      <pubDate>Tue, 11 Nov 2008 10:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60558#M13132</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-11-11T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter TIME format via DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60559#M13133</link>
      <description>I agree with Linus. If you have both an INFORMAT and a FORMAT set for the variable then this is an issue for Tech Support.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 11 Nov 2008 12:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-enter-TIME-format-via-DI-Studio/m-p/60559#M13133</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-11-11T12:37:44Z</dc:date>
    </item>
  </channel>
</rss>

