Set format string for DateFormatter : DateFormatter « Data Model « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Data Model » DateFormatterScreenshots 
Set format string for DateFormatter
Set format string for DateFormatter
    

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:TextInput text="{dateFormatter.format(new Date(2010, 0, 2, 16, 25, 10))}" />
    <mx:DateFormatter id="dateFormatter" formatString="MMMM D, YYYY at L:N:S A" />


</mx:Application>

   
    
    
    
  
Related examples in the same category
1.Formatting the Date as a Date objectFormatting the Date as a Date object
2.Formatting the Date as a StringFormatting the Date as a String
3.DateFormatter format string MM/DD/YYDateFormatter format string MM/DD/YY
4.DateFormatter format string "MMM DD, YYDateFormatter format string
5.DateFormatter format string MMMM DD, YYYYDateFormatter format string MMMM DD, YYYY
6.Data Formatting with DateFormatterData Formatting with DateFormatter
7.Declare a DateFormatter component with an MM/DD/YYYY date format, and binds the formatted version of a Date object
8.Declare a DateFormatter with an MM/DD/YYYY date formatDeclare a DateFormatter with an MM/DD/YYYY date format
9.Using the DateFormatter classUsing the DateFormatter class
10.Use DateFormatter to format Date valueUse DateFormatter to format Date value
11.Formatting dates using the DateFormatter
12.Use a DateFormatter object to do the formattingUse a DateFormatter object to do the formatting
13.declares a DateFormatter component with an MM/DD/YYYY date formatdeclares a DateFormatter component with an MM/DD/YYYY date format
14.An error handler function for DateFormatterAn error handler function for DateFormatter
15.DateFormatter and parametersDateFormatter and parameters
16.Example Date FormatterExample Date Formatter
17.DateField FormatterDateField Formatter
w_w__w_.j___ava__2__s_.co_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.