method Duration.prototype.toDays Duration.prototype.toDays(): number Converts the duration to days. Return Type number