Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

determine day of week

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    determine day of week

    Comment


    • #3
      determine day of week

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

      Comment


      • #4
        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

        Comment

        Working...
        X