When i try to execute the above code it says Server: Msg 2715, Level 16, State 7, Line 4 Column or parameter #5: Cannot find data type date. Please help me with this. Thanks
I think it's done with UNIX timestamp http://www.unixtimestamp.com/ http://www.tizag.com/phpT/phpdate.php