On Sat, 2 Feb 2019, Artur T. wrote:
Dear all,
does gretl have an accessor for accessing the system's calendar date and
time? I couldn't find anything on this.
I am sure one could use some shell command within unix/linux but I would have
no idea how to grab such information on a windows of mac os machine.
On Linux you can do
string s = grab("date")
and this should work on OS X too. On Windows I think that
string s = grab("date /t")
ought to work but I haven't tested it. I see that grab() never got
documented, but it retrieves the output from a shell command. You
need to enable shell access in the GUI preferences for it to work.
Allin