Hi all,
Im trying to work with mysql and stuff and came across this post by izno
It does work, however the time is incorrect.Code:foo() { asyncQuery("SELECT NOW() AS `time`", ::showTime); } showTime(rows, args) { if(isDefined(rows) && isDefined(rows[0]) && isDefined(rows[0]["time"])) iprintlnbold("It is " + rows[0]["time"]); }
I live in the Netherlands (GMT +1), tested it at 10:58, but time shows 10:15.
What time does it show?