Global Function

day()

Declaration

func day() -> Int

Parameters

None

Returns

Int

Description

Current day returned by system clock. The day value returned is and Int.

Examples

var d = day()

Related

year()

month()

day()

hour()

minute()

second()

millis()

nanosecond()