I get the date in from a date time picker.
I want to keep the date and set the time to midnight so that.
bsv = DateDiff(DateInterval.Minute, '''this is bs.value with the time set to 00:00:00''', bs.Value)
will be the number of minutes from midnight of the selected day to the bs.value
Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.