Bitbybit Docs
    Preparing search index...

    Class CreateDateDto (Inputs.Dates)

    The parts of a date for dates.createDate and dates.createDateUTC; a part outside its range rolls the date over.

    Index

    Constructors

    • Parameters

      • Optionalyear: number
      • Optionalmonth: number
      • Optionalday: number
      • Optionalhours: number
      • Optionalminutes: number
      • Optionalseconds: number
      • Optionalmilliseconds: number

      Returns CreateDateDto

    Properties

    year?: number

    The full year, such as 2024.

    1
    

    0

    Infinity

    1

    month?: number

    The month counting from 0: 0 is January, 11 December.

    1
    

    0

    Infinity

    1

    day?: number

    The day of the month, from 1 to 31.

    1
    

    0

    Infinity

    1

    hours?: number

    The hour, from 0 to 23.

    1
    

    0

    Infinity

    1

    minutes?: number

    The minutes, from 0 to 59.

    1
    

    0

    Infinity

    1

    seconds?: number

    The seconds, from 0 to 59.

    1
    

    0

    Infinity

    1

    milliseconds?: number

    The milliseconds, from 0 to 999.

    1
    

    0

    Infinity

    1