阅读背景:

C从日期开始计算一年中的一天

来源:互联网 

I want to convert a date like 01/31/2013 to the day of year (31 in this case). This date is from user input, so I also need to check if it is a valid date. I know I can calculate day of year by myself like below:I want to convert a date like 01/31/2013 to the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: