DateTrunc
Truncates (rounds) a datetime to the specified precision
Inputs
DateTrunc(dateTime, datePart)
dateTime
- Date, time, or datetime valuedatePart
- This indicates the units of time that you want to add, ex. DateValueOption.MONTH
Truncates (rounds) a datetime to the specified precision
DateTrunc(dateTime, datePart)
dateTime
- Date, time, or datetime value
datePart
- This indicates the units of time that you want to add, ex. DateValueOption.MONTH