Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TributePaulWalker/Profiles
/ tnumcount
Function
tnumcount
JavaScript/Surge/Timecard.js:58–61 ·
view source on GitHub ↗
(num)
Source
from the content-addressed store, hash-verified
56
57
//计算输入序号对应的时间与现在的天数间隔
58
function
tnumcount(num) {
59
let
dnum = num;
60
return
dateDiff(tnowf, tlist[dnum][1]);
61
}
62
63
//获取最接近的日期
64
function
now() {
Callers
2
Timecard.js
File · 0.85
Timecard.js
File · 0.85
Calls
1
dateDiff
Function · 0.85
Tested by
no test coverage detected