Business applications often find it useful to calculate the number of years between two particular dates, such as the date a customer first ordered and the present date, perhaps to see whether they apply for a "loyalty" discount or a free gift.
Latest General Articles - Page 66
Lots of hot topics are covered in the Discussion Forums on CodeGuru. If you missed the forums this week, you missed some interesting ways to solve a problem.
Calculating the opening and closing quarter dates for a particular date is a common task for programmers. So, to save you from figuring out how to write that code, here are some ready-to-run functions that do it all for you.
Learn how to use Zip and Unzip compatible methods with VB5 or VB6. All the code is contained in class modules that can either be compiled into an ActiveX or dropped into an existing project. The Zip/Unzip functionality is handled by the FreeWare InfoZip components from (http://www.cdrom.com/pub/infozip ) - these DLL's are included in the download.
Sometimes you don't just want to add a certain number of days to a date; you want to take working days into account.
This tutorial demonstrates how to copy Excel data into a Windows DataGrid Control from the Clipboard.
Latest CodeGuru Developer Columns
Learn to implement exception handling mechanism in C++.
The addition of ValueTask to the asynchronous tool box has been a big new feature in C# 7.
Learn how you can use Visual Basic to make a program that mounts ISO files.
Take advantage of pattern matching to check for patterns in your code, improve performance, and simplify your code.