Search code examples
node.jscassandrauuidhelenus

How to extract timestamp from UUID v1 (TimeUUID) using javascript?


I use Cassandra DB and Helenus module for nodejs to operate with this. I have some rows which contains TimeUUID columns. How to get timestamp from TimeUUID in javascript?


Solution

  • node-uuid module for nodejs contains method for convert uuid v1 to timestamp

    Commit with function for extract msecs from uuid v1