> So the question is, how can I convert the the information into this format? > -- "1" , "January" , " 2002" > -- "2" , "January" , " 2002" > -- "3" , "January" , " 2002" > -- "4" , "January" , " 2002" > -- "5" , "January" , " 2002"
This code will change the format to what you need. You will need to work the calls into your code. Watch for email line breaks etc. on changeDate theDate -- SAMPLE CALL -- changeDate( date(2002, 1, 1) ) newDate = [] months = ["January","February","March","April","May","June","July","August","September","October","November","December"] newDate = theDate.day & quote & "," & quote & months[theDate.month] & quote & "," & quote & theDate.year return newDate -- newDate = theDate.day & "," & months[theDate.month] & "," & theDate.year -- return newDate -- newDate.add((theDate.day).string) -- newDate.add(months[theDate.month]) -- newDate.add((theDate.year).string) -- return newDate end changeDate HTH Later. ...Neil [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
