Taylor Built Solutions Logo

C++ Date Type Silliness

Recently, I had a project which needed to hold a date with the following properties: Hold the year, month, and day Take a C string (char*) in the format “YYYYMMDD” Do some basic validation and assumption fixing (disallow blank & empty input) Produce a string in a specified format for JSON output My extensive experience…
Read more