system.kanoa.utilities.formatDatesForSP
Description
When passing a date to a stored procedure, it needs to be converted to the timezone of the SQL Server (kanoaCore).Syntax
formatDatesForSP(datesIn)- datesIn (List) - List of dates to be converted (e.g., [startDate, endDate]).
- datesOut (List) - List of converted dates.
Code Example
# Example Usage:
converted_dates = system.kanoa.utilities.formatDatesForSP([startDate, endDate])