7.6

Table Of Contents
Time (function)
Returns the print time. Note that this function will only work if the document runs on a computer, since it is impossible for the
document to get the current time from a printer. So if you send your document to a printer and then simply send data with the
appropriate trigger to that printer, the document will run on the printer and the function will return an empty string. Use the
Run locally option, available in the PlanetPress Suite Workflow Tools, to ensure that the document runs on a computer rather
than on a printer.
Syntax
time(displayseconds)
Argument
displayseconds
Boolean specifying whether to display the time using seconds. True returns the time with seconds, False, without. The precise
format of the of the time value strings are set in the Windows Regional options.
Code Sample Example
This example shows how to add the current time with seconds (11:14:46 AM, as opposed to 11:14 AM, for example) on a doc-
ument page.
Example
show(time(true))
Trim (function)
Removes both leading and trailing spaces from a string.
Syntax
trim( string ) string value
Argument
string
String value from which you want to trim leading and trailing spaces.
Code Sample Example
This example trims leading and trailing spaces from the data selection on line 3, columns 8 to 24.
Example
trim(@(3,8,24))
©2010 Objectif Lune Inc - 508 -