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 stamp

Former Member
0 Likes
577

Why can I not use UTC? What can I use instead?

LOOP AT gt_1 INTO gs_1.

CONVERT TIME STAMP gs_1-created_at

TIME ZONE ’UTC’

INTO DATE lv_price_date TIME lv_price_time.

WRITE: / lv_price_date.

IF lv_price_date IN s_date.

APPEND gs_1 TO gt_11.

ELSE.

ENDIF.

ENDLOOP.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
554
CONVERT TIME STAMP tstamp TIME ZONE 'UTC+12' INTO 
        DATE d TIME t.

Why can I not use UTC? What can I use instead?

LOOP AT gt_1 INTO gs_1.

CONVERT TIME STAMP gs_1-created_at

TIME ZONE ’UTC’

INTO DATE lv_price_date TIME lv_price_time.

WRITE: / lv_price_date.

IF lv_price_date IN s_date.

APPEND gs_1 TO gt_11.

ELSE.

ENDIF.

ENDLOOP.

3 REPLIES 3
Read only

Former Member
0 Likes
555
CONVERT TIME STAMP tstamp TIME ZONE 'UTC+12' INTO 
        DATE d TIME t.
Read only

Former Member
0 Likes
554

use UTC+12 as zone

Read only

0 Likes
554

Valid UTC's are located in table: TTZZ

Message was edited by: Leif Sølvtofte