Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12: Time & Date Functions

C H A P T E R  12

Time & Date Functions

We all know what dates are and what we mean when we say “I need it done in three days,” but such natural expressions are not so easy for computers. Unfortunately, computations that involve time and dates are essential in business and cannot be ignored. Without them it would be very difficult to judge the potential profitability of a planned business venture, the real cost of a loan, or the future value of an investment.

A lot of financial functions greatly benefit from the use of date functions, because they make it possible to automate a lot of time-based calculations. Automating things is always a good idea, because it saves you time and money.

There are two kinds of OpenOffice.org Calc time-related functions: date functions (for bigger chunks of time: days, weeks, months, or years) and time functions (for shorter periods of time: hours, minutes, or seconds). That distinction exists for your own comfort only, because all date and time calculations in OpenOffice.org Calc are based on the same fractional number (a.k.a. “timestamp”) that represents the number of seconds that have elapsed since a subjectively chosen moment in time called an Epoch, which is a fancy way of saying the time counter value was equal to 00:00:00.00 (i.e., zero).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial