getYMD
get month, day and year from a date.
ydm=getYMD(d)
Inputs
d An instance of the class java.util.Calendar , returned, by getDate .
Outputs
mdy A vector of three integers, containing the year, month, and day of the month, in that order, extracted from the input.