Skip to Content
avatar image
Former Member

Convert Long time stamp to time and date.

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 :)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers