Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
360 views
in Technique[技术] by (71.8m points)

c++ - 如何使用年月日创建time_point对象?(How to create a time_point object with year month day?)

Suppose I have 3 integers 1992, 5, 29 and I want to construct a time_point object that represents 1992 May 29th.

(假设我有3个整数time_point ,并且我想构造一个表示1992年5月29日的time_point对象。)

How do you do it?

(你怎么做呢?)

Do I have to convert these 3 numbers to epoch first and then convert epoch to time_point ?

(我是否必须先将这三个数字转换为纪元,然后再将纪元转换为time_point ?)

Thanks!

(谢谢!)

  ask by dorafmon translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...