Add a more generic method to prepend zeros
Use the newly added method to prepend zeros to number who need it to ensure timestamps have a consistent length