Instance Property

nanosecond

The number of nanosecond units for the receiver.

Declaration

var nanosecond: Int { get set }

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

var hour: Int

The number of hour units for the receiver.

var minute: Int

The number of minute units for the receiver.

var second: Int

The number of second units for the receiver.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software