Skip to main content

time()

Last updated 18/07/2023

The following code executes before a new row is inserted into a table and sets the current time in local time as a string in the Time field.


Set the current time in the Time field
function NewOrder(five, context, result) {
context.new.Time = five.time();
return five.success();
}