Example:
var ts1 = new Date(); var stmt = "update orders set order_timestamp = " + services.database.makeJDBCTimestampStringFromField(fields.orderTimestamp) + " where order_id = " + orderId; services.database.executeGenericUpdateStatement("SAMPLES", stmt);
returns java.lang.String
Example: