w1102157 Yak Posting Veteran
80 Posts
Lumbago Norsk Yak Master
Norway 3246 Posts
visakh16 Very Important crosS Applying yaK Herder
India 48119 Posts
quote:Originally posted by w1102157Hi Guys ,i am trying to find out the number of days between two dates and i am running the following queryDATEDIFF(d, ElementStartDate, ElementEndDate)however can i alter thsi query to say if the ElementEndDate is -1 then state no end date?