Timestamp Encoder?

hi,

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
http://numenta.org/docs/htm.java/org/numenta/nupic/encoders/DateEncoder.html

thanks,
dunno but will check it out