missing toolboxes for function year

2 views (last 30 days)
Sina Kian
Sina Kian on 15 Nov 2019
Answered: Steven Lord on 15 Nov 2019
dear friends,
what is my missing toolboxes?
the error is:

Answers (1)

Steven Lord
Steven Lord on 15 Nov 2019
There is a year function in Financial Toolbox, but if you're working with date and time data I recommend storing your date and time data as datetime arrays and using the year method for datetime to extract information about the year in which the date and time the datetime represents falls.

Categories

Find more on Dates and Time in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!