CAS 6


ymd
- Date

Summary

Extract the year month or day from a date. or combine year, month, day into single date field.

Examples

1 ymd ORIGDATE
4 ymd ORIGYEAR ORIGMONTH ORIGDAY
1 ymd 19891231
2 ymd 19891231 
3 ymd 19891231 
4 ymd 1989 12 31

Syntax

ResultCode ymd Date|(Year Month Day)

Left Arguments

Name Data Type Input Type Description Optional Default
ResultCode Numeric Constant 1=Year, 2=Month, 3=Day, 4=Date No

Right Arguments

Name Data Type Input Type Description Optional Default
Date Date Field, Constant No
Year Numeric Field, Constant No
Month Numeric Field, Constant No
Day Numeric Field, Constant No

Result

Type: Date, Numeric

Year, Month, Day or Date; Date Field Integer



Build 6.0.624