Skip to Content
author's profile photo Former Member
Former Member

time stamp declaration

Hi friends,

i want to use timestamp in my report.

i have data type TIMESTAMP

having the domaine TZNTSTMPS.

how to use this in my report.

plz any body guide me.

Thanks & Regards,

Lakshmi..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 12:06 PM

    pretty simple.. chek this out..

    report  zptest21                                .
    
    
    
    data:
      s_tst type timestamp,
      l_tst type timestampl,
      tzone type timezone.
    
    get time stamp field s_tst.    "short form
    get time stamp field l_tst.    "long form
    tzone = 'UTC   '.                   "time zone
    
    write: / s_tst time zone tzone,
           / l_tst time zone tzone.

    Regards,

    Arya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 12:09 PM

    Hi,

    the output for the time stamp should be as YYYYMMDD_HH:MM:SS

    plz suggest me

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.