Generate row key using Ticks.