MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / QiFunc_datetime

Method QiFunc_datetime

source/src/scriptinterpreter.cpp:94–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92struct QiFunc_datetime : public QiFunc
93{
94 QiFunc_datetime() : QiFunc(0, 1) {}
95 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
96 {
97 time_t s = args.empty() ? time(nullptr) : static_cast<time_t>(args[0].toInteger());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected