cancel
Showing results for 
Search instead for 
Did you mean: 

Hello Community, I am working with a controller which has FATFS in it. When i am trying to create folder with name as YY-MM-DD it is giving me an error, it is only accepting YYMMDD format, i have to differentiate year, month and day with some symbol,

MDevi.1
Associate II

can somebody tell me, how to do it

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

Hello @MDevi.1​,

The date format of YY-MM-DD is not supported by FATFS.

I think, as a solution, you can use the underscore character as the delimiter instead. For example, your folder name could be YYMM_DD.

Hope that helps!

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Sarra.S
ST Employee

Hello @MDevi.1​,

The date format of YY-MM-DD is not supported by FATFS.

I think, as a solution, you can use the underscore character as the delimiter instead. For example, your folder name could be YYMM_DD.

Hope that helps!

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

MDevi.1
Associate II

Thank you for reply, it is worked .