+ Reply to Thread
Results 1 to 4 of 4

Thread: determine day of week

  1. #1
    Guest.Visitor Guest

    Default determine day of week

    The OS/400 system value QDAYOFWEEK will return the day of the week as *SUN, *MON, *TUE... etc. This can be retrieved in a CL program via the RTVSYSVAL command. Bill

  2. #2
    Guest.Visitor Guest

    Default determine day of week


  3. #3
    Guest.Visitor Guest

    Default determine day of week

    Does anyone know of an easy way to determine day of week?

  4. #4
    Guest.Visitor Guest

    Default determine day of week

    An addendum to my previous message... If you are trying to calculate the day of the week for a given date (other than today's date), you can accomplish this once you know the day of the week for a specific date. You can use RPG IV opcodes ADDDUR and SUBDUR to add or subtract from the current date. I have seen examples of how to accomplish this in Bryan Meyers RPG IV Jump Start book - http://www.mc-store.com/rpgivjumstar.html. Hope this helps, Bill

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 03-04-2008, 03:15 PM
  2. How to determine if a folder is empty
    By Guest.Visitor in forum CL
    Replies: 5
    Last Post: 12-06-2005, 09:57 AM
  3. System Name - how to determine?
    By Guest.Visitor in forum RPG
    Replies: 1
    Last Post: 12-12-2002, 09:11 AM
  4. determine day of week
    By Guest.Visitor in forum General
    Replies: 0
    Last Post: 11-22-2002, 12:26 PM
  5. Determine Day of Week in RPG
    By Guest.Visitor in forum Application Software
    Replies: 11
    Last Post: 10-03-2000, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts