I have a date range using two strings: startDate and endDate.
I want to write a script to iterate through each and every day between the startDate and endDate, inclusive. The version of Jython in Ignition doesn’t support the datetime library. I have looked into using an import of java.util but don’t get very far when trying to convert the string to a java Calendar object.
The reason for this script is to be able to iterate through a date range and for each day in the range do a historical tag query with a specific time range. Currently the system.tag.queryTagHistory function does not a where clause to filter each day by a time frame so I am forced to iterate through each day in a date range.