Skip to Main Content Skip to Search
Product Documentation

ftsbound - Start and end dates

Syntax

datesbound = ftsbound(tsobj)
datesbound = ftsbound(tsobj, dateform)

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

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS