永洪tech-wisiy
显示全部楼层
发表于 2021-7-29 15:34:26
var ld = eomonth(now(),0)
var fld = formatDate(ld,"yyyy-MM-dd")
var nud = parseInt(substring(fld,8,10))
var nowd = parseInt(substring(formatDate(today(),"yyyy-MM-dd"),8,10))
debug(formatNumber(nowd/nud,"##.00%"))
这个是获取当前时间在本月的进度 |
|