today

Original VisualText 2 documentation (2001–2013). For the current NLP++ tools, see visualtext.org.

Purpose

Format the current date and time as a string.

Syntax

returnedStr = today()

returnedStr - type: str

Returns

Return the current date and time as a string.

Remarks

An "escape to the shell" from inside NLP++.

Example

@CODE
"output.txt" << today() << "\n";
@@CODE

See Also

Special Functions, Formatting and I/O Functions