Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$DOW^XLFDT(): Day of Week

Reference Type: Supported, Category: Date Functions, ICR#: 10103

Description

The $$DOW^XLFDT extrinsic function returns the corresponding day of the week from a date in VA FileMan format.

Format

  $$DOW^XLFDT(x[,y])

Input Parameters

x:

(required) VA FileMan date.

y:

(optional) 1 to return a day-of-week number.

Output

returns:

Returns the day of the week.

Examples

Example 1

>S X=$$DOW^XLFDT(2901231.111523)

>W X
Monday

Example 2

>S X=$$DOW^XLFDT(2901231.111523,1)

>W X
1