Servoy 6.0.6
I have this method
var apptDataset = databaseManager.getDataSetByQuery('apd',
sqlQuery, ['005', monthViewStartDate, monthViewEndDate], 10000);
//loop through the data
for (var apptCnt = 1; apptCnt <= apptDataset.getMaxRowIndex(); apptCnt++){
application.output(apptDataset.getValue(apptCnt, 8).getFullYear())
}
The 8th elements of my dataset is a date field. How can i delete the warnig i have on the getFullYear() (“The function getFullYear() is undefined in this script”)
Thanks