I want to print current date in format MM/DD/YYYY.
I have tried to write embed script.
local curDate;
date(time(),curDate);
print(curDate.month+"//"+curDate.day+"//"+curDate.year);
But it gives me an error : "The index date does not exist."
I think that standard Sqirrel lib "system" didn't link and I guess why :).
But how I can take date or how can I change the date output format?
QuoteI think that standard Sqirrel lib "system" didn't link
That's right, we haven't enabled squirrel's std lib yet...
Quote from: mandrav on March 04, 2007, 05:36:45 PM
QuoteI think that standard Sqirrel lib "system" didn't link
That's right, we haven't enabled squirrel's std lib yet...
And what should I do? I havn't any funtion that can give me date/time in any format.