File

util/time.lua @ 8409:e98b4352d7df

mod_storage_sql: Add indices that include the with and when columns of archives
author Kim Alvefur <zash@zash.se>
date Tue, 21 Nov 2017 14:46:21 +0100
parent 7461:72e48bddf617
line wrap: on
line source

-- Import gettime() from LuaSocket, as a way to access high-resolution time
-- in a platform-independent way

local socket_gettime = require "socket".gettime;

return {
	now = socket_gettime;
}