Hi thanks. I use find regular expression to get the value too. Hope i get it right.
year = $find regular expression($date, "([\\d]+\\s)")
month = $find regular expression($date, "(^[\\d]+)")
The $date function return mm/dd/yyyy tt:tt:tt in my pc. I want to get the value of yyyy , mm and dd, so that i get year=2012, month=05, day=15 Thanks in advance.