07-08-2008 2:58 PM
Hi,
Is there any Std FM to which if i pass the timestamp(08.07.2008 10:00:00) and time(say 36 hrs),it adds the two and give me resultant exact time stamp .
BR,
SRM tech
07-08-2008 3:00 PM
Hi,
Check this:
CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT'
EXPORTING
i_date = sy-datum
i_dayst = sy-dayst
i_time = sy-uzeit
i_tzone = sy-tzone
IMPORTING
e_timestmp = l_timestamp
EXCEPTIONS
date_invalid = 1
OTHERS = 2.
Regards
Adil
07-08-2008 3:02 PM
Hi,
Hope this function module helps you.
The function module IB_CONVERT_INTO_TIMESTAMP is used to convert the time to the GMT.
The input parameters are DATE, TIME and the TIMEZONE(user's timezone, default value SY-ZONLO).
The output parameter is the timestamp in GMT.
The function module IB_CONVERT_FROM_TIMESTAMP is used to get the time in required timezone.
The input parameters for this are the timestamp obtained from the above function module and the timezone,
to which the time needs to be converted.
Regards,
Sravanthi
07-08-2008 3:02 PM
07-08-2008 3:03 PM
Hi,
Try
CACS_TIMESTAMP_GET_DATE
RKE_TIMESTAMP_CONVERT_INPUT
Anirban Bhattacharjee
07-08-2008 3:11 PM
Hi,
I dont want to get the time and date in the TIMESTAMP format...When i input the timestamp(say 08.07.2008 18:20:00) and the time duration (to be added) say 36hrs(36:00:00),then it should give me the final timestamp say (10.07.2008 06:20:00)
07-08-2008 3:47 PM