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

Time stamp on Marketing Docs

Hi There,

Does anyone have an idea what would be the easiest way to get a Time stamp on a document? Maybe to create a UDF with a query to select the current time, but then what query can I use to get the time?

Any Ideas?

Thanks,

Wynand.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 10:42 AM

    Hi Wynand

    For printing purposes or to save to the DB? The DB already has a time stamp on the ADOC table.

    Kind regards

    Peter Juby

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 22, 2009 at 10:30 AM
    SELECT RIGHT(CAST(CURRENT_TIMESTAMP AS VARCHAR(20)),6)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 12:08 PM

    Dankie Peter,

    I actually saw now that there is in fact a doctime field on all the headers as well, I just wanted to give the client a way to look at when a document has been added. All sorted now.

    Thanks again!

    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.