time_boundaries(sd_start, sd_end, boundary_type, span_wide)
Version 1.0.0.0 (4.29 KB) by
Roger Parkyn
Find the calendar time-boundaries (e.g. month or year start-dates) between two dates
Finds the serial dates of calendar times within the input date-range. The boundary types can be: 'daily'; 'monthly'; 'quarterly'; 'yearly'; or 'fy' (Australian financial year). An option is available to return boundaries that may span outside the start or end dates (if these aren't on a boundary).
Cite As
Roger Parkyn (2024). time_boundaries(sd_start, sd_end, boundary_type, span_wide) (https://www.mathworks.com/matlabcentral/fileexchange/63178-time_boundaries-sd_start-sd_end-boundary_type-span_wide), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Dates and Time >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Calendar >
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Typo in Summary corrected! |