Time Primitive - Month Error
Posted: Mon Jan 15, 2018 10:44 am
NOTE:
The Time Primitive display at its output terminal that the Month January begin at Index 0, but in fact its output terminal produces a numeral 1 for the Index of January.
Therefore, if you construct your Month Array with Jan, Feb, Mar, Apr, May...then the String GetAt will never find January which is in fact at Index 0 in the array, whilst the Index from the Time Primitive output terminal is a numeral 1 for January...thus, all the Months will be 1 Month ahead of time with respect to the Array Index.
You will therefore have to take this into account and make the necessary correction between Time Primitive output terminal and the String GetAt Input Index terminal - see attached Schematic.
The Time Primitive display at its output terminal that the Month January begin at Index 0, but in fact its output terminal produces a numeral 1 for the Index of January.
Therefore, if you construct your Month Array with Jan, Feb, Mar, Apr, May...then the String GetAt will never find January which is in fact at Index 0 in the array, whilst the Index from the Time Primitive output terminal is a numeral 1 for January...thus, all the Months will be 1 Month ahead of time with respect to the Array Index.
You will therefore have to take this into account and make the necessary correction between Time Primitive output terminal and the String GetAt Input Index terminal - see attached Schematic.