# days · FT4 TypeScript client · Chromia Docs (concept)

> days(d: number): number Returns a value that represents d days. Can also be combined with the other
time functions in this module. For example: Plain text 

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.days/

Function

# days

* ```signature
  days(d: number): number
  ```

  Returns a value that represents `d` days. Can also be combined with the other
  time functions in this module. For example:

  Plain text

  ```
  days(2) + hours(10) // Represents: "2 days and 10 hours" or "34 hours"
  ```

  #### Parameters

  + d: number

    how many days to get

  #### Returns number

  #### Remarks

  this function does not care in any way about leap seconds and any other time
  adjustments. This means that when you define an auth descriptor with a rule that makes
  it expire after 1 day, it will expire after exactly 24 hours, even if there has been
  a leap second during that day, which means it will be off by a second.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.days.html)Generated API reference, mirrored from the live docs
