toString()


moment().toString();

以与 JS Date 的 .toString() 类似的格式返回英文字符串。

moment().toString() // "Sat Apr 30 2016 16:59:46 GMT-0500"
moment().toString();

Returns an english string in a similar format to JS Date's .toString().

moment().toString() // "Sat Apr 30 2016 16:59:46 GMT-0500"