create yyyymm variable from date
古いコメントを表示
I have a date variable. I want to create yyyymm from the date variable. I can use the year function and the month function to extract year and month. I would like to know how one can create yyyymm variable.
3 件のコメント
the cyclist
2020 年 6 月 30 日
編集済み: the cyclist
2020 年 6 月 30 日
When you say you have a "date variable", what format is it? Is it a datenumber? A datetime? Something else? Can you post an example of your data, either by posting some code, or uploading in a MAT file?
alpedhuez
2020 年 6 月 30 日
alpedhuez
2020 年 6 月 30 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!