ParseYmd
The ParseYmd function splits a date string in year, month, day ("YMD") form into its components of year, month, and day. This is the same as the older function DateToYmd.
nYear, nMonth, nDay = ParseYmd( sYmd )
To split a Julian Date to its 6 date and time components, use JDtoDateTime.