Module:DateDiff: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 June 2023

13 June 2022

  • curprev 05:5005:50, 13 June 2022 (username removed) 455 bytes +75 No edit summary
  • curprev 05:3305:33, 13 June 2022 (username removed) 380 bytes +18 No edit summary
  • curprev 05:3005:30, 13 June 2022 (username removed) 362 bytes −12 No edit summary
  • curprev 05:1005:10, 13 June 2022 (username removed) 374 bytes 0 No edit summary
  • curprev 04:5704:57, 13 June 2022 (username removed) 374 bytes +374 Created page with "local p={} function p.DateDiff(frame) args=frame:getParent().args fromdate = os.time{year=args[1],month=args[2],day=args[3],hour=16} -- 7:00 AM UTC+9 if args[4] ~= nil then todate = os.time() else todate = os.time{year=args[4],month=args[5],day=args[6],hour=16} -- 7:00 AM UTC+9 end diff = math.floor(os.difftime(todate,fromdate) / 86400) return diff end return p"