Application Development and Automation 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: 
Read only

Timestamp

Former Member
0 Likes
621

Hi

Is that possible to find the difference between two timestamps.

For eg :

I want to find the difference of time between 13/02/2009 - 18:24:35 and 18/02/2009 - 10:23:45.

Pls explain how can i achieve..

Rgds

saravan

5 REPLIES 5
Read only

Former Member
0 Likes
591

try this FM

OII_CALC_DIFF_BT_TIMESTAMPS

Read only

0 Likes
591

SD_DATETIME_DIFFERENCE

Read only

Former Member
0 Likes
591

Hi Sarvana,

Use FM CCU_TIMESTAMP_DIFFERENCE

It gives you the difference between two timestamps in seconds.

which you can divide by 3600 to get hours.

Regards,

Nitin.

Read only

Former Member
0 Likes
591

Hi,

Try these FM's.

DURATION_DETERMINE

DAYS_BETWEEN_TWO_DATES

Regards

Rajesh Kumar

Read only

Former Member
0 Likes
591

Check this FM: /SDF/CMO_DATETIME_DIFFERENCE

Give the inputs and you will get the result..

Regards,

PR.