Board logo

标题: 中文版VBS帮助手册把DateDiff的interval选项翻译错了? [打印本页]

作者: Batcher    时间: 2009-2-24 13:43     标题: 中文版VBS帮助手册把DateDiff的interval选项翻译错了?

查看了我能找到的几本中文版VBS帮助手册电子书,全都把DateDiff函数的interval选项翻译错了,如下,很明显把月和分钟搞颠倒了:
设置描述
yyyy
q季度
n
y一年的日数
d
w一周的日数
ww
h小时
m分钟
s
后来在一本英文版电子书上终于找到正确的描述: "yyyy" returns the year. "q" returns the quarter of the year. "m" returns the month. "y" returns the Julian date, which is the number of days that have elapsed since the beginning of the year. "d" returns the day as a number. "w" returns the weekday, such as "Monday." "ww" returns the week of the year. "h" returns the hour. "n" returns the minute. Don't confuse this with "m," which actually returns the month. "s" returns the second. 这一点也可以在微软官网得到印证http://msdn.microsoft.com/zh-cn/library/xhtyw595(en-us,VS.85).aspx 问题: 这么多中文版电子书全都出错,是以讹传讹的结果?或者有啥历史典故?我初学VBS,不了解内情。
作者: zqz0012005    时间: 2009-2-24 18:21

是微软的错。script56.chm的中文版是微软自己出,里面有很多错误。




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2