计算这两个日期之间的差(以分钟为单位),然后使用您所输入的单词数(由中间的命令输出)除以这个值,以得到平均每分钟输入的单词数。
Take the difference in minutes between the two dates and divide by the number of words you typed (which is output by the middle command) to get the average number of words per minute you type.
给出两个这样的日期,Delta_YMD($earlier, $later) 会产生相同格式的时间差,这样就可以得到年龄。
Given two such dates, Delta_YMD($earlier, $later) then yields the difference, in your case the age, in the same format.
Dates and Times提供了大量的日期操作功能,包括计算两个日期之间的差,以及检索本地系统的当前日期和时间。
Dates and Times provides a broad spectrum of date manipulation functionality, including calculating the difference between two dates and retrieving the local system current date and time.
应用推荐