std::put_time formats

后端 未结 2 994
栀梦
栀梦 2021-01-14 08:24

I want understand how to work std::put_time, and how can I get date stamp in \"YYYY/MM/DD HH:MM:SS\" format. Now I write somthing like this:

std::chrono::tim         


        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 09:08

    See this reference. It's actually the same as for the old strftime function, with some extra formats thrown in.

提交回复
热议问题