• Hello again, Mazharuddin Ehsan

    Ok, that works but it still have a problem if i put the end date in an holiday:

    select dbo.ufninc_CalcTimeSinceCreated(convert(datetime,'26-12-2007',105),convert(datetime,'1-1-2008',105))

    Best Regards