Date

class Date : JsAny

JavaScript Date class.

Constructors

Link copied to clipboard
constructor(time: JsNumber)
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun Date.toLocalDate(): LocalDate

Converts JavaScript Date to LocalDate.

Link copied to clipboard
fun Date.toLocalDateTime(): LocalDateTime

Converts JavaScript Date to LocalDateTime.

Link copied to clipboard
fun Date.toLocalTime(): LocalTime

Converts JavaScript Date to LocalTime.