IRIS Toolbox Reference Manual

# Dates and date ranges

#### Creating IRIS serial date numbers

- `bb` - IRIS serial date number for bimonthly date.
- `bbtoday` - IRIS serial date number for current bi-month.
- `hh` - IRIS serial date number for half-yearly date.
- `hhtoday` - IRIS serial date number for current half-year.
- `mm` - IRIS serial date number for monthly date.
- `mmtoday` - IRIS serial date number for current month.
- `qq` - IRIS serial date number for quarterly date.
- `qqtoday` - IRIS serial date number for current quarter.
- `ww` - IRIS serial date number for weekly date.
- `wwtoday` - IRIS serial date number for current week.
- `yy` - IRIS serial date number for yearly date.
- `yytoday` - IRIS serial date number for current year.

#### Computing special dates (daily dates only)

- `datbom` - Beginning of month for the specified daily date.
- `datboq` - Beginning of quarter for the specified daily date.
- `datboy` - Beginning of year for the specified daily date.
- `dateom` - End of month for the specified daily date.
- `dateoq` - End of quarter for the specified daily date.
- `dateoy` - End of year for the specified daily date.

#### Creating date ranges

- `daterange` - Use the colon operator to create date ranges.
- `datxtick` - Change ticks, labels and/or date frequency on x-axis in existing tseries graphs.

#### Converting dates

- `clp2dat` - Convert text in system clipboard to dates.
- `dat2char` - Convert dates to character array.
- `dat2charlist` - Convert dates to a comma-separated list.
- `dat2clp` - Convert dates to text and paste to system clipboard.
- `dat2dec` - Convert dates to their decimal representations.
- `dat2str` - Convert IRIS dates to cell array of strings.
- `dat2ypf` - Convert IRIS serial date number to year, period and frequency.
- `dec2dat` - Convert decimal representation of date to IRIS serial date number.
- `str2dat` - Convert strings to IRIS serial date numbers.

#### Date comparison

- `datcmp` - Compare two IRIS serial date numbers.
- `datdiff` - Number of periods between two dates with check for date frequency.
- `rngcmp` - Compare two IRIS date ranges.

#### Daily and weekly dates

- `daysinyear` - Number of days in year.
- `dd` - Matlab serial date numbers that can be used to construct daily tseries objects.
- `ddtoday` - Matlab serial date number for today's date.
- `ww2day` - Convert weekly IRIS serial date number to Matlab serial date number.
- `weeksinyear` - Number of weeks in year.

#### Getting on-line help on date functions

    help dates
    help dates/function_name

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.