首页 > IT职业 > IT生活 > 每日一函數(2008/03/01)
函數:CONVERT_DATE_TO_EXTERNAL
說明:由內部日期格式轉換爲系統指定顯示的日期格式
例子:
call function 'CONVERT_DATE_TO_EXTERNAL'
exporting
date_internal = internal_formal_date
importing
date_external = erternal_format_date.
如果internal_formal_date = 20080302,系統設定日期顯示的格式爲MM.DD.YYYY,則
erternal_format_date返回的值爲03.02.2008。一般用於BDC中的日期欄位輸入時要用到。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9437124/viewspace-1000298/ ,如需转载,请注明出处,否则将追究法律责任。