Home Forums Article Discussions Article Discussions by Author Discuss content posted by Joshua Feierman Five Rules For Successful Conversations With Developers RE: Five Rules For Successful Conversations With Developers
john 69568
Valued Member
Points: 72
More actions
February 7, 2014 at 12:20 pm
#1687198
Nice, but I think you meant
set @start_of_day = dateadd(day,datediff(day,0,@date),0);
rather than
set @start_of_day = dateadd(day,datediff('day',0,@date),0);
or am I missing something?