Can someone help me implement a function that takes in a date string that has the form 'm/d/y' that produces the full name of the date string ex: 'march 3,1956'

1 次查看(过去 30 天)
I kinda dont know where to start on this one.

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-10-21
编辑:Azzi Abdelmalek 2013-10-21
d='10/25/2013'
d1=datenum(d,'mm/dd/yyyy');
out=datestr(d1,'mmmm dd, yyyy')

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by