D
dt520
Unregistered / Unconfirmed
GUEST, unregistred user!
下面是javascript,请帮忙将其 写成delphi<br>//===== 某年的第n个节气为几日(从0小寒起算)<br>function sTerm(y,n) {<br>var offDate = new Date( ( 31556925974.7*(y-1900) + sTermInfo[n]*60000 ) + Date.UTC(1900,0,6,2,5) )<br>return(offDate.getUTCDate())<br>}<br>//主要是Date() Date.UTC() offDate.getUTCDate() 这三个javascript <br>//日期函数如何转换.