Actually in my Flex Application i’m passing Date(in String format) as well as Timezone(String format) convert into Date type but it is not converting Date type … it is giving null value and my
sample code like this…
var tzDate:String="20012-12-12";
var tzString:String=tzComboBox.selectedItem;//hear value GMT+0530
var startDate:Date = DateField.stringToDate(tzDate+" "+tzString,"YYYY-MM-DD TZD");
Alert.show(startDate);//hear value giving "Null"
The problem is it’s not converting Date format…Plz Help me
use parse function and format date before parsing
Hopes that Helps