# append '[]' to the type name in the array declaration
[datetime[]]$dt_array = @()

# append the DateTime value from each column with the '+=' operator
# to the datetime array in the While loop
$dt_array += $rdr['datetime']

--
Kiron