Module:StarlightDate

Revision as of 03:02, 15 October 2018 by Stylo (talk | contribs)

Documentation for this module may be created at Module:StarlightDate/doc

local p = {} -- p stands for package

function p.hello( frame )
    return "Hello, world!"
end

local Date = require('Module:Date')._Date

--local show  -- function defined below to display results

local function current_date()
	local now_date = Date('currentdate')
	local now_datetime = Date('currentdatetime')
	return now_date
end

local function main()
	return current_date()
end

return { main = main }