Module:Bengali Unix Timestamp: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 10:
local year, month, day
if date then
day, month, monthyear = input:match("(%d+)%-(%d+)%-(%d+)")
 
Line 24:
end
 
local timestamp = os.time{
year = tonumber(year),
month = tonumber(month),
Line 34:
timestamp = os.time()
end
timestamp = timestamp - os.difftime(os.time(), os.time(os.date("!*t"))) + 21600
return timestamp