Date Time - very simple question.

Date Time - very simple question.

I have a very simple question which is boggling me.

I have a Date-Time field in my form.

I have the following function:

if ((input.Date_Time == zoho.currentdate))
{
Send email...

}

I want emails sent out only if the date scheduled in the record is todays date. I know my field is a Date-Time field, but for this function, I only care about being the same date. I don't know why I can't figure this out, but its not working for me.

Thanks