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

time adding

Former Member
0 Likes
489

i had the two time formats in ::-- how can i add these two time formats,

and i had days ,how to converts into ::

thanks,

krishna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
454

Hi

Try this

DATA : a type t ,

b type t ,

c type t .

a = '231010' .

b = '000540' .

c = a + b .

Write c .

Hope Helps.

2 REPLIES 2
Read only

Former Member
0 Likes
455

Hi

Try this

DATA : a type t ,

b type t ,

c type t .

a = '231010' .

b = '000540' .

c = a + b .

Write c .

Hope Helps.

Read only

Former Member
0 Likes
454

Hi,

Check FM : 'C14B_ADD_TIME'

This provides the date and time calculation based on input time.

Ex1:

Input : Start time : 10:00:00

Start date : 2007/12/25

Add time : 11:00:00

Result :

Endate : 21:00:00

Enddate : 2007/12/25

Ex2:

Input : Start time : 10:00:00

Start date : 2007/12/25

Add time : 15:00:00

Result :

Endate : 01:00:00

Enddate : 2007/12/26