Previous Topic

Next Topic

Book Contents

Book Index

General Information

The GETWDAY function returns a number representing the day of week on which the date in the date argument falls. The first day of the week, as specified in the SWEEK IOA installation parameter, is designated by the number 1. The last day of the week is designated by the number 0.

If the value of the SWEEK IOA installation parameter is MON (Monday), the integers 0 through 6 represent Sunday through Saturday. If the value of SWEEK is SUN (Sunday), the integers 0 through 6 represent Saturday through Friday.

Parent Topic

GETWDAY: Functions