PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09/15/2005 5:05 PM by  John Henley
How do you reference the current date in 4GL?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
BWhite
New Member
(5 points)
New Member
Posts:3


Send Message:

--
09/15/2005 4:20 PM
    Hello Everyone,

    I am writing an interface that will select data the previous week.

    I would like know how to get the current date so I can determine my date range.

    Thanks in advance!

    Bonnie

    PS. If you could reply to my e-mail address that would be great. bwhite2@tufts-nemc.org
    John Henley
    Private
    Private
    Senior Member
    (9563 points)
    Senior Member
    Posts:3205


    Send Message:

    --
    09/15/2005 5:05 PM
    WS-SYSTEM-DATE-YMD is the variable you want to use (it's inserted as part of the compile). It is ccyymmdd PIC 9(08) [ccyymmdd], and gets populated with system date when a program is started.
    Thanks for using the LawsonGuru.com forums!
    John
    You are not authorized to post a reply.