Informatica Expression IS_DATE
<p>This works:</p>

<pre><code>TO_DATE(TO_CHAR('12'|| '-' || '12' || '-01'),'YYYY/MM/DD')
</code></pre>

<p>This does not work:</p>

<pre><code>IS_DATE(TO_DATE(TO_CHAR('12'|| '-' || '12' || '-01'),'YYYY/MM/DD'))
IS_DATE(TO_DATE(TO_CHAR('12'|| '-' || '12' || '-01'),'YYYY/MM/DD'),'YYYY/MM/DD')
</code></pre>

<p>What exactly am I doing wrong?
I have tried datatypes <code>STRING</code> and <code>DATE/TIME</code></p>