Liking cljdoc? Tell your friends :D
ClojureScript only.

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

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`
raw 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`
raw 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`
raw docstring

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

× close