Adate expected, got String

Steven,

A general description of a problem is not enough for us to solve it.

You should post the code, what you think it should do, what it
actually does, and the complete error message including an indication
of which line caused the error.

Pete Yandell
http://notahat.com/