I used this without the final formatting and got my desired number of seconds since 1960. Somehow the proc sql insert won‘t work, because the number, that should be put in my SQLServer Tabel column of type „datetime“, due to a type mismatch. Is there a difference between the output of datetime() and a number that i get from dhms(mdy(blabla…))?
... View more