Bug fix: expire_at of routes

- expire_at field of route is no longer zero if 31 days or 12 hours is set
- Date object has now a new method called toDateTime() -returns a string
  DateTime format