Liquid XML Data Binder 2020
Liquid XML Data Binder (C++, Java, VB6) / Reference / Visual Basic 6 / Reference / DateTimeSpan / VB6 Normalize - DateTimeSpan
In This Topic
    VB6 Normalize - DateTimeSpan
    In This Topic
    Public Sub Normalize()
      Property Description  
        Description Distributes the values across the groupings.  
        Remarks

    Ensures there is a max of

    hours 24
    minutes 60
    seconds 60
    millis 1000
    micros 1000
    nanos 1000

    Any additional values are bubbled up to the next 'bucket'.

    ie
    hours 0
    minutes 15
    seconds 4123
    millis 0
    micros 0
    nanos 123456

    Becomes
    hours 1
    minutes 23
    seconds 43
    millis 0
    micros 123
    nanos 456