Add create ID from time function