# Date informations lost

**URL:** <https://www.ruby-forum.com/t/date-informations-lost/148210>\
**Category:** Rails\
**Created:** [September 10, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/date-informations-lost/148210 "2008-09-10T14:06:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrdamien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Post date:** [September 10, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/date-informations-lost/148210/1 "2008-09-10T14:06:56Z")

</div>

Hi all,

I am trying to save a DateTime in the database (oracle).

The field is “datetime” and the ruby object I am trying to save a  
DateTime.

But once I save the object in the database, it’s only saving the date  
(day, month and year) but drop the time (hh:mm).

Did I miss something ?
