Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to get the TIMESTAMP

Former Member
0 Kudos

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

6 REPLIES 6

former_member705122
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

bpawanchand
Active Contributor
0 Kudos

Hi

USe

BDL_GET_CENTRAL_TIMESTAMP

Regards

Pavan

Former Member
0 Kudos

Hi,

Try

CACS_TIMESTAMP_GET_DATE

RKE_TIMESTAMP_CONVERT_INPUT

Anirban Bhattacharjee

0 Kudos

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)

Former Member
0 Kudos

Hi,

Can anybody pls reply?