I am using DateChooser and I can t get date as whole date in form YYYY/
MM/DD. I can set value in text field like this.

I created function

private function collectDate (fin:CalendarLayoutChangeEvent):void
{

var godina:String = eventObj.currentTarget.selectedDate.getFullYear();
var mjesec:String = eventObj.currentTarget.selectedDate.getMonth() +
1;
var dan:String = eventObj.currentTarget.selectedDate.getDate();
var datum:String = toString(godina + '/' + mjesec + '/' + dan);
Naslov.text = (godina + "/" + mjesec + "/" + dan);

}

Can I somehow set variable to contain value as Naslov.text

Thx

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to