ifnull does not always work?

ifnull does not always work?

Hi Zoho,

I have the following script on my html page:

  date01 = null;
<%=ifnull(date01.toString(),("N/A"))%><br>
<%=ifnull(CRT_Entry.Renewal_Date.toString(),("N/A"))%>

CRT_Entry.Renewal_Date is off course a date field, just like date01. what I get from the following script is:

N/A
null

Why ?

Thanks

Ravid