Description
PSCGetDateElement extracts day, month or year from specified date. Index specifies which element will be extracted. When Index is 1 then the year is extracted, when Index is 2 then the month is extracted and when Index is 3 then the day is extracted, otherwise PSCGetDateElement returns -1.