does anyone know of any classes that i could use to turn a
String date into its number equivalent?
i need to split a string "20 Apr, 2007" into day month year, so this would return:
day = 20
month = 4,
year = 2007
iv used a mixture of split() and parseInt() to get the day and year, but im left with String "apr" which i need to turn into 4. any simple way without using a massive IF statement.