Class: Date

Date

new Date()

Native date prototype.

Source:

Members

<inner, readonly> replaceChars :Object

Index of symbols and corresponding replacement functions.

Type:
Source:
See:

Methods

format(format) → {String}

Recreation of PHP's date function.

Parameters:
Name Type Description
format String

Sequence of symbols to be replaced with corresponding date/time values.

Source:
See:
Returns:

Formetted date/time string.

Type
String