| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Financial Toolbox |
| Contents | Index |
| Learn more about Financial Toolbox |
DayMonth = day(Date) DayMonth = day(Date, F)
DayMonth = day(Date) returns the day of the month given a serial date number or date string.
DayMonth = day(Date, F) returns the day of the of the month, given a serial date number or date string, in a specified date format.
DayMonth = day(730544)
or
DayMonth = day('2/28/00')
returns DayMonth = 28
You can also use the F argument to designate a country-specific date format:
DayMonth = day('28/02/00','dd/mm/yyyy')returns DayMonth = 28
![]() | datewrkdy | days360 | ![]() |
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-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |