Viewing 2 posts - 1 through 2 (of 2 total)
I think this a serious limitation for a great function but why not do something like this:--where zero is the current value of the unitCREATE FUNCTION [dbo].[DateTrunc](
December 20, 2017 at 5:26 am
#1972881
See the example below in which it appears the function does perform as expected:
December 19, 2017 at 2:22 pm
#1972806