Liking cljdoc? Tell your friends :D

js.Date

Creates a JavaScript Date instance that represents a single moment time in a platform-independent format.

Creates a JavaScript Date instance that represents a single moment
time in a platform-independent format.
raw docstring

get-datecljs

(get-date this)

Method.

The getDate() method returns the day of the month for the specified according to local time.

dateObj.getDate()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate

Method.

The getDate() method returns the day of the month for the specified
according to local time.

`dateObj.getDate()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate`
sourceraw docstring

get-daycljs

(get-day this)

Method.

The getDay() method returns the day of the week for the specified according to local time, where 0 represents Sunday.

dateObj.getDay()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay

Method.

The getDay() method returns the day of the week for the specified
according to local time, where 0 represents Sunday.

`dateObj.getDay()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay`
sourceraw docstring

get-full-yearcljs

(get-full-year this)

Method.

The getFullYear() method returns the year of the specified date to local time.

dateObj.getFullYear()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getFullYear

Method.

The getFullYear() method returns the year of the specified date
to local time.

`dateObj.getFullYear()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getFullYear`
sourceraw docstring

get-hourscljs

(get-hours this)

Method.

The getHours() method returns the hour for the specified date, to local time.

dateObj.getHours()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getHours

Method.

The getHours() method returns the hour for the specified date,
to local time.

`dateObj.getHours()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getHours`
sourceraw docstring

get-millisecondscljs

(get-milliseconds this)

Method.

The getMilliseconds() method returns the milliseconds in the date according to local time.

dateObj.getMilliseconds()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds

Method.

The getMilliseconds() method returns the milliseconds in the
date according to local time.

`dateObj.getMilliseconds()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds`
sourceraw docstring

get-minutescljs

(get-minutes this)

Method.

The getMinutes() method returns the minutes in the specified according to local time.

dateObj.getMinutes()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMinutes

Method.

The getMinutes() method returns the minutes in the specified
according to local time.

`dateObj.getMinutes()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMinutes`
sourceraw docstring

get-monthcljs

(get-month this)

Method.

The getMonth() method returns the month in the specified date to local time, as a zero-based value (where zero indicates the month of the year).

dateObj.getMonth()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth

Method.

The getMonth() method returns the month in the specified date
to local time, as a zero-based value (where zero indicates the
month of the year).

`dateObj.getMonth()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth`
sourceraw docstring

get-secondscljs

(get-seconds this)

Method.

The getSeconds() method returns the seconds in the specified according to local time.

dateObj.getSeconds()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getSeconds

Method.

The getSeconds() method returns the seconds in the specified
according to local time.

`dateObj.getSeconds()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getSeconds`
sourceraw docstring

get-timecljs

(get-time this)

Method.

The getTime() method returns the number of milliseconds* since Unix Epoch.

dateObj.getTime()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime

Method.

The getTime() method returns the number of milliseconds* since
Unix Epoch.

`dateObj.getTime()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime`
sourceraw docstring

get-timezone-offsetcljs

(get-timezone-offset this)

Method.

The getTimezoneOffset() method returns the time zone difference, minutes, from current locale (host system settings) to UTC.

dateObj.getTimezoneOffset()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset

Method.

The getTimezoneOffset() method returns the time zone difference,
minutes, from current locale (host system settings) to UTC.

`dateObj.getTimezoneOffset()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset`
sourceraw docstring

get-utc-datecljs

(get-utc-date this)

Method.

The getUTCDate() method returns the day (date) of the month in specified date according to universal time.

dateObj.getUTCDate()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDate

Method.

The getUTCDate() method returns the day (date) of the month in
specified date according to universal time.

`dateObj.getUTCDate()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDate`
sourceraw docstring

get-utc-daycljs

(get-utc-day this)

Method.

The getUTCDay() method returns the day of the week in the specified according to universal time, where 0 represents Sunday.

dateObj.getUTCDay()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDay

Method.

The getUTCDay() method returns the day of the week in the specified
according to universal time, where 0 represents Sunday.

`dateObj.getUTCDay()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDay`
sourceraw docstring

get-utc-full-yearcljs

(get-utc-full-year this)

Method.

The getUTCFullYear() method returns the year in the specified according to universal time.

dateObj.getUTCFullYear()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear

Method.

The getUTCFullYear() method returns the year in the specified
according to universal time.

`dateObj.getUTCFullYear()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear`
sourceraw docstring

get-utc-hourscljs

(get-utc-hours this)

Method.

The getUTCHours() method returns the hours in the specified date to universal time.

dateObj.getUTCHours()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCHours

Method.

The getUTCHours() method returns the hours in the specified date
to universal time.

`dateObj.getUTCHours()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCHours`
sourceraw docstring

get-utc-millisecondscljs

(get-utc-milliseconds this)

Method.

The getUTCMilliseconds() method returns the milliseconds portion the time object's value.

dateObj.getUTCMilliseconds()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMilliseconds

Method.

The getUTCMilliseconds() method returns the milliseconds portion
the time object's value.

`dateObj.getUTCMilliseconds()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMilliseconds`
sourceraw docstring

get-utc-minutescljs

(get-utc-minutes this)

Method.

The getUTCMinutes() method returns the minutes in the specified according to universal time.

dateObj.getUTCMinutes()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMinutes

Method.

The getUTCMinutes() method returns the minutes in the specified
according to universal time.

`dateObj.getUTCMinutes()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMinutes`
sourceraw docstring

get-utc-monthcljs

(get-utc-month this)

Method.

The getUTCMonth() returns the month of the specified date according universal time, as a zero-based value (where zero indicates the month of the year).

dateObj.getUTCMonth()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMonth

Method.

The getUTCMonth() returns the month of the specified date according
universal time, as a zero-based value (where zero indicates the
month of the year).

`dateObj.getUTCMonth()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMonth`
sourceraw docstring

get-utc-secondscljs

(get-utc-seconds this)

Method.

The getUTCSeconds() method returns the seconds in the specified according to universal time.

dateObj.getUTCSeconds()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCSeconds

Method.

The getUTCSeconds() method returns the seconds in the specified
according to universal time.

`dateObj.getUTCSeconds()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCSeconds`
sourceraw docstring

get-yearcljs

(get-year this)

Method.

[Deprecated]

The getYear() method returns the year in the specified date according local time. Because getYear() does not return full years ("year problem"), it is no longer used and has been replaced by the method.

dateObj.getYear()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear

Method.

[Deprecated]

The getYear() method returns the year in the specified date according
local time. Because getYear() does not return full years (\"year
problem\"), it is no longer used and has been replaced by the
method.

`dateObj.getYear()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear`
sourceraw docstring

lengthcljs

(length this)

Property.

The value of Date.length is 7. This is the number of arguments by the constructor. It's not generally a useful result.

Property.

The value of Date.length is 7. This is the number of arguments
by the constructor. It's not generally a useful result.
sourceraw docstring

nowcljs

(now this)

Method.

The Date.now() method returns the number of milliseconds elapsed January 1, 1970 00:00:00 UTC.

var timeInMs = Date.now();

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now

Method.

The Date.now() method returns the number of milliseconds elapsed
January 1, 1970 00:00:00 UTC.

`var timeInMs = Date.now();`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now`
sourceraw docstring

parsecljs

(parse this & args)

Method.

The Date.parse() method parses a string representation of a date, returns the number of milliseconds since January 1, 1970, 00:00:00 or NaN if the string is unrecognized or, in some cases, contains date values (e.g. 2015-02-31).

`Direct call:

Date.parse(dateString)

Implicit call:

new Date(dateString)`

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse

Method.

The Date.parse() method parses a string representation of a date,
returns the number of milliseconds since January 1, 1970, 00:00:00
or NaN if the string is unrecognized or, in some cases, contains
date values (e.g. 2015-02-31).

`Direct call:



Date.parse(dateString)

Implicit call:



new Date(dateString)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse`
sourceraw docstring

prototypecljs

(prototype this)

Property.

The Date.prototype property represents the prototype for the constructor.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype

Property.

The Date.prototype property represents the prototype for the
constructor.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype`
sourceraw docstring

set-datecljs

(set-date this day-value)

Method.

The setDate() method sets the day of the js.Date object relative the beginning of the currently set month.

dateObj.setDate(dayValue)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setDate

Method.

The setDate() method sets the day of the `js.Date` object relative
the beginning of the currently set month.

`dateObj.setDate(dayValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setDate`
sourceraw docstring

set-full-yearcljs

(set-full-year this & args)

Method.

The setFullYear() method sets the full year for a specified date to local time. Returns new timestamp.

dateObj.setFullYear(yearValue[, monthValue[, dateValue]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setFullYear

Method.

The setFullYear() method sets the full year for a specified date
to local time. Returns new timestamp.

`dateObj.setFullYear(yearValue[, monthValue[, dateValue]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setFullYear`
sourceraw docstring

set-hourscljs

(set-hours this & args)

Method.

The setHours() method sets the hours for a specified date according local time, and returns the number of milliseconds since January 1970 00:00:00 UTC until the time represented by the updated js.Date

dateObj.setHours(hoursValue[, minutesValue[, secondsValue[, msValue]]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours

Method.

The setHours() method sets the hours for a specified date according
local time, and returns the number of milliseconds since January
1970 00:00:00 UTC until the time represented by the updated `js.Date`

`dateObj.setHours(hoursValue[, minutesValue[, secondsValue[, msValue]]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours`
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

The value of Date.length is 7. This is the number of arguments by the constructor. It's not generally a useful result.

Property.

The value of Date.length is 7. This is the number of arguments
by the constructor. It's not generally a useful result.
sourceraw docstring

set-millisecondscljs

(set-milliseconds this milliseconds-value)

Method.

The setMilliseconds() method sets the milliseconds for a specified according to local time.

dateObj.setMilliseconds(millisecondsValue)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds

Method.

The setMilliseconds() method sets the milliseconds for a specified
according to local time.

`dateObj.setMilliseconds(millisecondsValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds`
sourceraw docstring

set-minutescljs

(set-minutes this & args)

Method.

The setMinutes() method sets the minutes for a specified date to local time.

dateObj.setMinutes(minutesValue[, secondsValue[, msValue]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMinutes

Method.

The setMinutes() method sets the minutes for a specified date
to local time.

`dateObj.setMinutes(minutesValue[, secondsValue[, msValue]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMinutes`
sourceraw docstring

set-monthcljs

(set-month this & args)

Method.

The setMonth() method sets the month for a specified date according the currently set year.

dateObj.setMonth(monthValue[, dayValue])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMonth

Method.

The setMonth() method sets the month for a specified date according
the currently set year.

`dateObj.setMonth(monthValue[, dayValue])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMonth`
sourceraw docstring

set-prototype!cljs

(set-prototype! this val)

Property.

The Date.prototype property represents the prototype for the constructor.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype

Property.

The Date.prototype property represents the prototype for the
constructor.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype`
sourceraw docstring

set-secondscljs

(set-seconds this & args)

Method.

The setSeconds() method sets the seconds for a specified date to local time.

dateObj.setSeconds(secondsValue[, msValue])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setSeconds

Method.

The setSeconds() method sets the seconds for a specified date
to local time.

`dateObj.setSeconds(secondsValue[, msValue])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setSeconds`
sourceraw docstring

set-timecljs

(set-time this time-value)

Method.

The setTime() method sets the js.Date object to the time represented a number of milliseconds since January 1, 1970, 00:00:00 UTC.

dateObj.setTime(timeValue)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setTime

Method.

The setTime() method sets the `js.Date` object to the time represented
a number of milliseconds since January 1, 1970, 00:00:00 UTC.

`dateObj.setTime(timeValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setTime`
sourceraw docstring

set-utc-datecljs

(set-utc-date this day-value)

Method.

The setUTCDate() method sets the day of the month for a specified according to universal time.

dateObj.setUTCDate(dayValue)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCDate

Method.

The setUTCDate() method sets the day of the month for a specified
according to universal time.

`dateObj.setUTCDate(dayValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCDate`
sourceraw docstring

set-utc-full-yearcljs

(set-utc-full-year this & args)

Method.

The setUTCFullYear() method sets the full year for a specified according to universal time.

dateObj.setUTCFullYear(yearValue[, monthValue[, dayValue]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCFullYear

Method.

The setUTCFullYear() method sets the full year for a specified
according to universal time.

`dateObj.setUTCFullYear(yearValue[, monthValue[, dayValue]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCFullYear`
sourceraw docstring

set-utc-hourscljs

(set-utc-hours this & args)

Method.

The setUTCHours() method sets the hour for a specified date according universal time, and returns the number of milliseconds since 1, 1970 00:00:00 UTC until the time represented by the updated instance.

dateObj.setUTCHours(hoursValue[, minutesValue[, secondsValue[, msValue]]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCHours

Method.

The setUTCHours() method sets the hour for a specified date according
universal time, and returns the number of milliseconds since
1, 1970 00:00:00 UTC until the time represented by the updated
instance.

`dateObj.setUTCHours(hoursValue[, minutesValue[, secondsValue[, msValue]]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCHours`
sourceraw docstring

set-utc-millisecondscljs

(set-utc-milliseconds this milliseconds-value)

Method.

The setUTCMilliseconds() method sets the milliseconds for a specified according to universal time.

dateObj.setUTCMilliseconds(millisecondsValue)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMilliseconds

Method.

The setUTCMilliseconds() method sets the milliseconds for a specified
according to universal time.

`dateObj.setUTCMilliseconds(millisecondsValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMilliseconds`
sourceraw docstring

set-utc-minutescljs

(set-utc-minutes this & args)

Method.

The setUTCMinutes() method sets the minutes for a specified date to universal time.

dateObj.setUTCMinutes(minutesValue[, secondsValue[, msValue]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMinutes

Method.

The setUTCMinutes() method sets the minutes for a specified date
to universal time.

`dateObj.setUTCMinutes(minutesValue[, secondsValue[, msValue]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMinutes`
sourceraw docstring

set-utc-monthcljs

(set-utc-month this & args)

Method.

The setUTCMonth() method sets the month for a specified date to universal time.

dateObj.setUTCMonth(monthValue[, dayValue])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMonth

Method.

The setUTCMonth() method sets the month for a specified date
to universal time.

`dateObj.setUTCMonth(monthValue[, dayValue])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMonth`
sourceraw docstring

set-utc-secondscljs

(set-utc-seconds this & args)

Method.

The setUTCSeconds() method sets the seconds for a specified date to universal time.

dateObj.setUTCSeconds(secondsValue[, msValue])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCSeconds

Method.

The setUTCSeconds() method sets the seconds for a specified date
to universal time.

`dateObj.setUTCSeconds(secondsValue[, msValue])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCSeconds`
sourceraw docstring

set-yearcljs

(set-year this year-value)

Method.

[Deprecated]

The setYear() method sets the year for a specified date according local time. Because setYear() does not set full years ("year problem"), it is no longer used and has been replaced by the method.

dateObj.setYear(yearValue)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear

Method.

[Deprecated]

The setYear() method sets the year for a specified date according
local time. Because setYear() does not set full years (\"year
problem\"), it is no longer used and has been replaced by the
method.

`dateObj.setYear(yearValue)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear`
sourceraw docstring

to-date-stringcljs

(to-date-string this)

Method.

The toDateString() method returns the date portion of a js.Date in English in the following format separated by spaces:

dateObj.toDateString()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toDateString

Method.

The toDateString() method returns the date portion of a `js.Date`
in English in the following format separated by spaces:

`dateObj.toDateString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toDateString`
sourceraw docstring

to-gmt-stringcljs

(to-gmt-string this)

Method.

[Deprecated]

The toGMTString() method converts a date to a string, using Internet Mean Time (GMT) conventions. The exact format of the value returned toGMTString() varies according to the platform and browser, in it should represent a human readable date string.

dateObj.toGMTString()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString

Method.

[Deprecated]

The toGMTString() method converts a date to a string, using Internet
Mean Time (GMT) conventions. The exact format of the value returned
toGMTString() varies according to the platform and browser, in
it should represent a human readable date string.

`dateObj.toGMTString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString`
sourceraw docstring

to-iso-stringcljs

(to-iso-string this)

Method.

The toISOString() method returns a string in simplified extended format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always UTC offset, as denoted by the suffix "Z".

dateObj.toISOString()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString

Method.

The toISOString() method returns a string in simplified extended
format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ
±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always
UTC offset, as denoted by the suffix \"Z\".

`dateObj.toISOString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString`
sourceraw docstring

to-jsoncljs

(to-json this)

Method.

The toJSON() method returns a string representation of the js.Date

dateObj.toJSON()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toJSON

Method.

The toJSON() method returns a string representation of the `js.Date`

`dateObj.toJSON()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toJSON`
sourceraw docstring

to-locale-date-stringcljs

(to-locale-date-string this & args)

Method.

The toLocaleDateString() method returns a string with a language representation of the date portion of this date. The new locales options arguments let applications specify the language whose conventions should be used and allow to customize the behavior the function. In older implementations, which ignore the locales options arguments, the locale used and the form of the string are entirely implementation dependent.

dateObj.toLocaleDateString([locales [, options]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString

Method.

The toLocaleDateString() method returns a string with a language
representation of the date portion of this date. The new locales
options arguments let applications specify the language whose
conventions should be used and allow to customize the behavior
the function. In older implementations, which ignore the locales
options arguments, the locale used and the form of the string
are entirely implementation dependent.

`dateObj.toLocaleDateString([locales [, options]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString`
sourceraw docstring

to-locale-formatcljs

(to-locale-format this format-string)

Method.

[Non Standard]

The non-standard toLocaleFormat() method converts a date to a using the specified formatting. Intl.DateTimeFormat is an alternative format dates in a standards-compliant way. See also the newer of Date.prototype.toLocaleDateString().

dateObj.toLocaleFormat(formatString)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleFormat

Method.

[Non Standard]

The non-standard toLocaleFormat() method converts a date to a
using the specified formatting. `Intl.DateTimeFormat` is an alternative
format dates in a standards-compliant way. See also the newer
of `Date.prototype.toLocaleDateString()`.

`dateObj.toLocaleFormat(formatString)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleFormat`
sourceraw docstring

to-locale-stringcljs

(to-locale-string this & args)

Method.

The toLocaleString() method returns a string with a language representation of this date. The new locales and options arguments applications specify the language whose formatting conventions be used and customize the behavior of the function. In older which ignore the locales and options arguments, the locale used the form of the string returned are entirely implementation dependent.

dateObj.toLocaleString([locales[, options]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString

Method.

The toLocaleString() method returns a string with a language
representation of this date. The new locales and options arguments
applications specify the language whose formatting conventions
be used and customize the behavior of the function. In older
which ignore the locales and options arguments, the locale used
the form of the string returned are entirely implementation dependent.

`dateObj.toLocaleString([locales[, options]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString`
sourceraw docstring

to-locale-time-stringcljs

(to-locale-time-string this & args)

Method.

The toLocaleTimeString() method returns a string with a language representation of the time portion of this date. The new locales options arguments let applications specify the language whose conventions should be used and customize the behavior of the In older implementations, which ignore the locales and options the locale used and the form of the string returned are entirely dependent.

dateObj.toLocaleTimeString([locales[, options]])

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString

Method.

The toLocaleTimeString() method returns a string with a language
representation of the time portion of this date. The new locales
options arguments let applications specify the language whose
conventions should be used and customize the behavior of the
In older implementations, which ignore the locales and options
the locale used and the form of the string returned are entirely
dependent.

`dateObj.toLocaleTimeString([locales[, options]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString`
sourceraw docstring

to-sourcecljs

(to-source this & args)

Method.

[Non Standard]

The toSource() method returns a string representing the source of the object.

dateObj.toSource() Date.toSource()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toSource

Method.

[Non Standard]

The toSource() method returns a string representing the source
of the object.

`dateObj.toSource()
Date.toSource()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toSource`
sourceraw docstring

to-stringcljs

(to-string this)

Method.

The toString() method returns a string representing the specified object.

dateObj.toString()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString

Method.

The toString() method returns a string representing the specified
object.

`dateObj.toString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString`
sourceraw docstring

to-time-stringcljs

(to-time-string this)

Method.

The toTimeString() method returns the time portion of a js.Date in human readable form in American English.

dateObj.toTimeString()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toTimeString

Method.

The toTimeString() method returns the time portion of a `js.Date`
in human readable form in American English.

`dateObj.toTimeString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toTimeString`
sourceraw docstring

to-utc-stringcljs

(to-utc-string this)

Method.

The toUTCString() method converts a date to a string, using the time zone.

dateObj.toUTCString()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString

Method.

The toUTCString() method converts a date to a string, using the
time zone.

`dateObj.toUTCString()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString`
sourceraw docstring

utccljs

(utc this & args)

Method.

The Date.UTC() method accepts parameters similar to the js.Date but treats them as UTC. It returns the number of milliseconds January 1, 1970, 00:00:00 UTC.

`ECMAScript 2017 and later:

Date.UTC(year[, month[, day[, hour[, minute[, second[, millisecond]]]]]])

ECMAScript 2016 and earlier: (month used to be required)

Date.UTC(year, month[, day[, hour[, minute[, second[, millisecond]]]]])`

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/UTC

Method.

The Date.UTC() method accepts parameters similar to the `js.Date`
but treats them as UTC. It returns the number of milliseconds
January 1, 1970, 00:00:00 UTC.

`ECMAScript 2017 and later:



Date.UTC(year[, month[, day[, hour[, minute[, second[, millisecond]]]]]])

ECMAScript 2016 and earlier: (month used to be required)



Date.UTC(year, month[, day[, hour[, minute[, second[, millisecond]]]]])`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/UTC`
sourceraw docstring

value-ofcljs

(value-of this)

Method.

The valueOf() method returns the primitive value of a js.Date

dateObj.valueOf()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf

Method.

The valueOf() method returns the primitive value of a `js.Date`

`dateObj.valueOf()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close