Print the date and time in the format YYYY-MM-DD HH:MM:SS for a random number between 100000 and 999999.
date -r $(awk -v min=100000 -v max=999999 'BEGIN{srand(); print int(min+rand()*(max-min+1))}') +"%F %T"