Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 400 Bytes

16-creation-data.md

File metadata and controls

21 lines (18 loc) · 400 Bytes
title version signature
Creation Data
2.11.0
moment().creationData();

After a moment object is created, all of the inputs can be accessed with creationData() method:

moment("2013-01-02", "YYYY-MM-DD", true).creationData() === {
    input: "2013-01-02",
    format: "YYYY-MM-DD",
    locale: Locale obj,
    isUTC: false,
    strict: true
}