Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • moment
  • utc

Function utc

  • utc(inp?: MomentInput, strict?: boolean): Moment

    Parameters

    • Optionalinp: MomentInput
    • Optionalstrict: boolean

      Strict parsing disables the deprecated fallback to the native Date constructor when parsing a string.

    Returns Moment

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/moment/ts3.1-typings/moment.d.ts:664
  • utc(
        inp?: MomentInput,
        format?: MomentFormatSpecification,
        strict?: boolean,
    ): Moment

    Parameters

    • Optionalinp: MomentInput
    • Optionalformat: MomentFormatSpecification
    • Optionalstrict: boolean

      Strict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.

    Returns Moment

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/moment/ts3.1-typings/moment.d.ts:670
  • utc(
        inp?: MomentInput,
        format?: MomentFormatSpecification,
        language?: string,
        strict?: boolean,
    ): Moment

    Parameters

    • Optionalinp: MomentInput
    • Optionalformat: MomentFormatSpecification
    • Optionallanguage: string
    • Optionalstrict: boolean

      Strict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.

    Returns Moment

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/moment/ts3.1-typings/moment.d.ts:676

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc