[Home](./index.md) > [puppeteer](./puppeteer.md) > [SecurityDetails](./puppeteer.securitydetails.md) > [validTo](./puppeteer.securitydetails.validto.md)
## SecurityDetails.validTo() method
Signature:
```typescript
validTo(): number;
```
Returns:
number
[Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) marking the end of the certificate's validity.