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

# second

The number of second units for the receiver.

## Declaration

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

## Discussion

Discussion This value is interpreted in the context of the calendar with which it is used—see Calendars, Date Components, and Calendar Units in Date and Time Programming Guide.

## See Also

### Accessing Hours and Seconds

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