Timestamp Encoder?


Looking to implement TimeStamp encoder, the thing is the traditional way of doing it with sliding-range of bits wont work because I will lose alot of precision.
Any idea how to use the available bits more economically, but preserve the slide-window !? if possible.

Is this what you’re talking about? https://github.com/numenta/htm.java/blob/master/src/main/java/org/numenta/nupic/encoders/DateEncoder.java

dunno but will check it out