I am facing some problem in finding the days between 2 dates.

The scenario is as follow :

```
time = Time.new
enddate_timestamp = time.strftime("%Y-%m-%d %H:%M:%S")               
startdate = @logInfo.updated_at   #here updated_at is the column in the db .

```

What is the best way to find the days ?