Skip to Content
0

Convert Long time stamp to time and date.

Dec 09, 2016 at 11:12 AM

64

avatar image

Hi,
I have a business requirement where I need to Convert long Time Stamp to corresponding date and time.

Below code I am using to capture the time stamp :

DATA : time type timestampl,

gv_logtime TYPE dd04l-as4time ,
gv_logdate TYPE figlo_logdate.

.
GET TIME STAMP FIELD time.

And for converting :

CONVERT TIME STAMP time TIME ZONE sy-zonlo
INTO
DATE gv_logdate TIME gv_logtime .

Output :

20.161.209.111.055,9098370
09.12.2016
16:40:55

I am not able to capture the fractions of a second.
How can I resolve this issue.
Thanks :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers