December 2017
Beginner
366 pages
5h 36m
English
© Radek Vystavěl 2017
Radek Vystavěl, C# Programming for Absolute Beginners, https://doi.org/10.1007/978-1-4842-3318-4_11
Radek Vystavěl1
(1)Ondřjov, Czech Republic
In the previous chapter, you practiced calculations from the economic world. You will frequently need to do calculations with dates, too. Say you need to set the date when an invoice is due. Or say you want to calculate how many days an invoice is past due. Or, you might need to know the first and last days of a specific period like a month or a quarter. In this chapter, you’ll learn how to do calculations with dates.
First, you will learn how to read a date from a user. I will show you some simple date arithmetic, too.
In this task, you will ...
Read now
Unlock full access