format %F %T %H:%M:%S %Y-%m-%d %H:%M:%S %m/%d/%Y %H:%M:%S Hello The current time is: %I:%M %p SELECT count() FROM numbers(10000000) WHERE NOT ignore(toDateTime('2017-01-01 00:00:00') + number % 100000000 + rand() % 100000 AS t, formatDateTime(t, '{format}'))