Time datatype in Rails
<p>I created a database using rails with <code>stime</code> attribute (referring to the starting time). Its type is <code>Time</code>. When I added a record with:</p>

<pre><code>stime = "10:10"
</code></pre>

<p>it has been added as:</p>

<pre><code>"stime":"2000-0101T10:10:00.000Z"
</code></pre>

<p>I only want the time, not the date. I thought it's the difference between <code>Time</code> and <code>DateTime</code>. Could anyone tell me what the problem is?</p>