---
title: second
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/datecomponents/second
---

# second

A second or count of seconds.

## Declaration

```swift
var second: Int? { get set }
```

## Discussion

Discussion note: This value is interpreted in the context of the calendar in which it is used.

## See Also

### Accessing Hours and Seconds

- [hour](foundation/datecomponents/hour.md)
- [minute](foundation/datecomponents/minute.md)
- [nanosecond](foundation/datecomponents/nanosecond.md)
