pycassa has pycassa.util.convert_time_to_uuid(time_arg, lowest_val=True, randomize=False)
phpcassa has static string uuid1 ([string $node = null], [int $time = null])
Can phpcassa’s uuid1 be used to get lowest/highest uuids like in pycassa?
If not, what’s the best approach to ensure you get everything between two given timestamps?
Strictly speaking, Cassandra sorts primarily by the timestamp component of a v1 UUID, and in the case of a tie, it sorts by the remaining bytes:
phpcassa should offer something similar to pycassa here. As a workaround in the meantime, you can set the last 8 bytes of the return value to 0x00.