IF TEST = 1 { ASSIGN CurrentTime = now } //Converts the contents of the variable TO a date //and time string using custom formatting. The variable must contain a //numeric value representing an OLE automation date/time. //The value of format specifies how the resulting date/time string will be returned ASSIGN FormCurrentTime1 ="{datefmt(CurrentTime, 'yyyy-MM-dd HH:mm:ss')}" ASSIGN FormCurrentTime2 ="{datefmt(CurrentTime, 'MM/dd/yyyy hh:mm:ss')}" ASSIGN FormCurrentTime3 ="{datefmt(CurrentTime, 'HHmmssyyyyMMdd')}" //For more information on Format Secifiers find help here: // https://help.incontact.com/en/icng/icng_studio/Content/studio/format_specifiers.htm