Function Modules for Data and Time
I need 2 function modules for date and time. when we pass current data(sy-datum) and current time (sy-uzeit) into function modules, shoud get date in <b>dd/mm/yyyy or dd.mm.yyyy</b> and time in<b> HH:MM:SS</b> formats.
Thanks in advance
Rich Heilman replied
You can use CONVERT_DATE_TO_EXTERNAL for date, it will format based on your user specific format in the user master, and time is pretty standard, so you could simply use the WRITE statement to do this.
data: time(10) type c. write sy-uzeit to time. write:/ time.