Posts tagged as:

toDateString()

The following example shows how you can convert Date objects to String objects using the static DateField.dateToString() method in Flex. As an added bonus, the example also shows how you can convert String objects to Date Objects using the static DateField.stringToDate() method.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can format the displayed date in a DateField control by setting the labelFunction property and creating a custom label function.

Full code after the jump.

[click to continue…]

{ 0 comments }