system.kanoa.utilities.convertSQLTimeStamp(timeStamp)
Some functions have a habit of returning a java.util.date or a SQL Timestamp object. This function can take a java.util.date or sql.timestamp object and always return a java.util.date object
Parameters
timeStamp java.util.date: java.util.date or sql.timestamp
Returns
convertedDate java.util.date
Example
convertedDate = system.kanoa.utilities.convertSQLTimeStamp(system.date.now())