Forum Discussion
ceciliatc
2 years agoNew Member
parametros
hola estoy intentando crear un parametro con fechas pero me sale este error, alguien sabe q estoy haciendo mal?
- 2 years ago
couple things:
- Use DateTime.From([Date]) - RangeStart and RangeEnd are already in the right format.
- What's the 0 supposed to do? Drop that
- Only one of the parameters can be inclusive, usually RangeStart. Make RangeEnd exclusive.
RangeStart <= DateTime.From([Date]) and DateTime.From([Date] < RangeEnd
lbendlin
Super User
2 years agoUse DateTime.From( ) to make the data types match.
- ceciliatc2 years agoNew Member
now I am getting this
- lbendlin2 years ago
Super User
couple things:
- Use DateTime.From([Date]) - RangeStart and RangeEnd are already in the right format.
- What's the 0 supposed to do? Drop that
- Only one of the parameters can be inclusive, usually RangeStart. Make RangeEnd exclusive.
RangeStart <= DateTime.From([Date]) and DateTime.From([Date] < RangeEnd