Closed. This question needs details or clarity。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗?添加详细信息并通过editing this post阐明问题。
                        
                        5年前关闭。
                                                                                            
                
        
感谢您的帮助,我认为这个问题应该解决。

最佳答案

您需要的是boost::gregorian::nth_day_of_the_week_in_month

http://www.boost.org/doc/libs/1_57_0/doc/html/date_time/gregorian.html#date_time.gregorian.date_algorithms

我不会为您编写代码,您应该能够从文档中找出答案。

关于c - 如何从“月”,“周”,星期几获取日期,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/27400289/

10-09 00:29