Skip to Content
avatar image
Former Member

How to display timestamp format attribute in local time zone

Hello,

I created a record which has a timestamp filed whose value is of UTC time zone value,

Now I want to display the timestamp value in a Wd Table in local time. what should I do as the timestamp is always standard?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 07, 2007 at 09:19 AM

    Hi Peter.

    CONVERT TIME STAMP time_stamp TIME ZONE tz

    INTO [DATE dat] [TIME tim]

    [DAYLIGHT SAVING TIME dst].

    or use function module TZ_GLOBAL_TO_LOCAL

    to convert timestamp to local time.

    This <a href="/people/horst.keller/blog/2004/11/29/abap-geek-8-150-summertime-blues-133 contains some hints too.

    Cheers,

    Sascha

    Message was edited by:

    Sascha Dingeldey

    Add comment
    10|10000 characters needed characters exceeded