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: 

Need Functional Module for Converting Hours to time and second

Former Member
0 Kudos

Hi Experts,

I need Function module through which i can pass source and target for Time such as Hours, Minute, Second any of the above and can convert it in to any of the above Combination.

H->M

H->S

M->S

M->H

S->H

S->M

S: Second

M: minute

H: Hour

Thanks

2 REPLIES 2

Former Member
0 Kudos

Hi

But why u don't do it by yourself?

H-> M = H * 60

H-> S = H * 3600

M-> S = M * 60

M-> H = M / 60

S-> H = S / 3600

S-> M = S / 60

Max

former_member156446
Active Contributor
0 Kudos

/SDF/CMO_TIME_DIFF_GET should serve some of the requirement..