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.
我有一个名为 Y 的变量,我需要该值是我输入的任何日期,但我不确定该怎么做?
您在寻找strptime()吗?它允许您将字符串解析为日期值。