i have the date in the format
20021102 = yyyymmdd
list ($theday, $daynumber, $months) = split (' [ ]', $Dat);
Dat is the list menu with the items with value of the date.
the way it is above it splits by a space. this worked but i changed my date format to the one above and it no longer works. how would i split the date into the 3 fields now as there are no longer spaces inbetween
i cant change the format of it now. so it must stay like above
yyyymmdd
thanks
mark