Beginning OpenOffice Calc: From Setting Up Simple Spreadsheets to Business Forecasting
by Jacek Artymiak
Functions that Return a Timestamp
Date and time information is stored on modern computer systems as a fractional number called a timestamp. It is commonly set to the number of seconds that have elapsed from midnight January 1, 1970.
All date and time calculations are done much faster on timestamps than the date or time written the way we are used to, because a single number is easier to process. For example, to find out the difference between two dates, it is sufficient to subtract two timestamps instead of comparing six numbers (two years, two months, and two days).
To make it easy to work with timestamps, we need a helper function like DATE. It is less often used today than a few years ago thanks to the maturity of the OpenOffice.org Calc code. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access