MomentJS - As String


Advertisements

This will output the date as English string.

Syntax

moment().toString();

Example

var a = moment().toString();

Output

As String
momentjs_formatting_date_and_time.htm
Advertisements