date

abstract external fun date(): TDate(source)

Creates a date object. Use utils.date() to create a new date object of the underlying library.Supports some of the standard input sources like ISO strings so you can pass the string directly as utils.date("2024-01-10T14:30:00Z"), and javascript Date objects utils.date(new Date()).

if null is passed null will be returned.


abstract external fun date(value: Any?): TDate?(source)