on 01-05-2020 6:51 PM
Hello,
I have a requirement to get the text/label of printed date format, which means in which format date has been printed.
ex: write (date) to (some variable).
so, here I want to know the format of date printed.. Ex: 12/31/2019 which means MM/DD/YYYY..
I want to know the format of date dynamically ?
is it possible?
thanks in advance.
mahi
I am assuming that you are talking about the date format of logged on user (sy-uname). If this is the case than you can check field DATFM in table USR01 for date format against the given user id.
Otherwise there is no way to find out from the text string itself if the date is DD/MM/YYYY or MM/DD/YYYY (as mentioend by Sandra above in comments)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.