Print current time
Print the array negleting duplicate elements