function · Browser and Node

# dayOf

Days since 1970-01-01 UTC.

`@toip-tools/anon-membership` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/anon-membership/src/encode.ts#L135)

Import:

```ts
import { dayOf } from "@toip-tools/anon-membership";
```

## Declaration

Signature:

```ts
dayOf(ms: number): number;
```

### Parameters

- **`ms` (required)**: `number`

### Returns

`number`

[Usage guide](https://toip.tools/toolkit/anon-membership/#usage) · [Error handling](https://toip.tools/toolkit/anon-membership/#errors) · [All exports](https://toip.tools/toolkit/anon-membership/api/)

---

This is the Markdown version of https://toip.tools/toolkit/anon-membership/api/dayOf/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
