When I receive the date, what should I do to include it?

Asked 2 years ago, Updated 2 years ago, 27 views

When you enter the date, you can use it on November 11, 2018 Is there anything I need to write separately if I want to receive it including dots?

c++

2022-09-22 19:21

1 Answers

Must be entered as a string and converted to date.

Study with the tutorial below.

https://www.tutorialspoint.com/cplusplus/cpp_date_time.htm

Where do you want to get input in the form yyyy.mm.dd?

Are you saying you'll get it from the command line window?


2022-09-22 19:21

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.