2007 Jul 11 11:02 PM
Hi Experts,
Please let me know if there a FM to convert the date format.
My requirement is to convert '<b>20070711'</b> to <b>'07112007'.</b>
Thanks for your help.
2007 Jul 11 11:23 PM
There is no function module to do it. All you need to do is
DATA: v_int_date LIKE sy-datum,
v_ext_date(8).
v_int_date = sy-datum.
WRITE v_int_date TO v_ext_date.
WRITE v_ext_date.
You can use Below FM :
CONVERT_DATE_TO_INTERNAL
This FM will convert date as internal format,i mean depends on user profile.
Thanks
Seshu
2007 Jul 11 11:23 PM
There is no function module to do it. All you need to do is
DATA: v_int_date LIKE sy-datum,
v_ext_date(8).
v_int_date = sy-datum.
WRITE v_int_date TO v_ext_date.
WRITE v_ext_date.
2007 Jul 11 11:28 PM
You can use Below FM :
CONVERT_DATE_TO_INTERNAL
This FM will convert date as internal format,i mean depends on user profile.
Thanks
Seshu
2007 Jul 11 11:51 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |