title: Insert date value in SQL Developer
body: <p>I tried to create a table to capture temperature </p>
  
  <p>Something like this : </p>
  
  <pre><code>| Id | TemDate    | Temperature |   
  |  1 | 2015-01-01 |          10 |
  |  2 | 2015-01-02 |          25 |
  </code></pre>
  
  <p>After I created my temperature table, I used </p>
  
  <pre><code> insert into temperature 
   values(1, '2015-01-01', 10);
  </code></pre>
  
  <p>and I got an error message saying: "not a valid month"</p>
  
  <p>So I changed the code to </p>
  
  <pre><code>insert into temperature 
  values(1, to_date('2015-01-01', 'yy-mm-dd'), 10);
  </code></pre>
  
  <p>after running the code the result table show tempdate as '01-Jan-2015' instead of '2015-01-01' as shown in the above table </p>
  
  <p>I tired to used this code to fix the problem </p>
  
  <pre><code>insert into temperature 
  values(1, to_date ('2015-Jan-01','yy-mm-dd'), 10);
  </code></pre>
  
  <p>but I still got '01-Jan-2015' not '2015-01-01'</p>
  
  <p>How can I insert the date into the table so I can have the same format that look like '2015-01-01'? Thanks for the help!</p>