Replace datetime column value with null or missingvalue

Hi,

I have a column that contains datetime values. Someone used 1900-01-01T00:00 as a null value. I need to replace it with null/missing value. Searching the community/web I don’t see what node to use. I’ve tried using column expression such as replace(column(“MyDate”),“1900-01-01”,missingvalue()) but that doesn’t work.

Any ideas?
Jeff

Hi @Jeff,

You can use a String Manipulation node with
toNull(replace($MyDate$, "1900-01-01T00:00","")).

Cheers,
Simon

3 Likes

Thanks… appreciate the insight!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.