Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以向我解释为什么实施会选择返回基于零的月份吗?
虽然我知道我可以将 1 添加到它以使其在字符串中可用,但我不确定基于零的推理,特别是因为getDate从 1 开始。
getDate