[Wday; Print Numeric Weekday(0-6); Wday... ] Print Numeric Weekday(0-6) - CAB A+ Series Programming Manual

Hide thumbs Also See for A+ Series:
Table of Contents

Advertisement

Date Functions
294

[WDAY... ]

This function prints the numeric week day - starting on sunday with 0 and ends at saturday with 6.
Please see also the [ISOWDAY] command which numbers each weekday from 1-7, starting on
monday.
Syntax:
Example:
cab Produkttechnik GmbH & Co KG

Print numeric WeekDAY(0-6)

[WDAY{:+DD{,+MM{,+YY}}}]
[WDAY...] - print numeric weekday (0-6)
+DD
= adds the amount of additional days as numerical value
+MM
= adds the amount of additional months as numerical value
+YY
= adds the amount of additional years as numerical value
m m
J
S l1;0,0,68,71,100
T 12,25,0,3,5;The name of today is [WDAY]
T 12,35,0,3,5;In 2 days we have [WDAY:02,00,00]
A1
This is the same sample as on the previous page with the difference that we wrote
„WDAY" in capital letters.
0
= sunday
1
= monday
2
= tuesday
3
= wednesday
So we have Thursday today and in two days we have saturday
4
=
thursday
5
=
friday
6
=
saturday
294
294

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mach 4PxXd4

Table of Contents