Financial Time Series Toolbox    
ftsbound

Start and end dates

Syntax

Arguments

tsobj
Financial time series object
dateform
dateform is an integer representing the format of a date string. See datestr for a description of these formats.

Description

ftsbound returns the start and end dates of a financial time series object. If the object contains time-of-day data, ftsbound additionally returns the starting time on the first date and the ending time on the last date.

datesbound = ftsbound(tsobj) returns the start and end dates contained in tsobj as serial dates in the column matrix datesbound. The first row in datesbound corresponds to the start date, and the second corresponds to the end date.

datesbound = ftsbound(tsobj, dateform) returns the starting and ending dates contained in the object, tsobj, as date strings in the column matrix, datesbound. The first row in datesbound corresponds to the start date, and the second corresponds to the end date. The dateform argument controls the format of the output dates.

See Also

datestr in the Financial Toolbox documentation


  fts2mtx ftsgui