Skip to main content
MDevi.1
Associate II
January 20, 2023
Solved

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,

  • January 20, 2023
  • 2 replies
  • 809 views

can somebody tell me, how to do it

    This topic has been closed for replies.
    Best answer by Sarra.S

    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!

    2 replies

    Sarra.SBest answer
    ST Employee
    January 20, 2023

    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
    MDevi.1Author
    Associate II
    January 21, 2023

    Thank you for reply, it is worked .