7.4

Table Of Contents
curveto(1,1,1,3,0.5,2)
closepath()
strokeandfill()
Result:
Date (function)
Returns the print date. Note that this function does not work in Printer-Centric mode, since it is impossible for the document to
get the current date 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
date(longdate)
Argument
longdate
Boolean specifying whether to use short or long date. True returns the date in long format, False, in short format. The precise
format of the short and long date value strings are set in the Windows Regional options.
Code Sample Example
This example shows how to add the current date in long form on a document page.
Example
show(date(true))
Result
On a system set to French (Canada), returns .
©2010 Objectif Lune Inc - 268 -