Skip to main content

Calculations with Dates

  • Chapter
  • First Online:
C# Programming for Absolute Beginners
  • 3294 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Radek Vystavěl

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Vystavěl, R. (2017). Calculations with Dates. In: C# Programming for Absolute Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3318-4_11

Download citation

Publish with us

Policies and ethics