Momentjs-as-string

提供:Dev Guides
2020年6月23日 (火) 03:56時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

MomentJS-文字列として

これにより、日付が英語の文字列として出力されます。

構文

moment().toString();

var a = moment().toString();

出力

文字列として