code: function(hours){
        var deadline;
        if (hours == ''){
          return null
        }
        deadline = new Date();
        deadline.setTime( deadline.getTime() + (hours * 3600000) );
  
        return deadline.getTime() / 1000;
      }
docs: /*
  create_deadline
  
  Called by todo.create_item. Converts a simple user input of hours into seconds from the moment it's being made
  to give its deadline a proper timestamp we can store and read later in todo.parse_remaining_time.