skip to main | skip to sidebar

Milan's Blog

"Programming is fun"

Thursday, May 27, 2010

Letting Flex know about the date format

When you need to pass the date other than in the US format in Flex application, you can use the following code;

import mx.controls.DateField;

var d:Date = DateField.stringToDate("30-12-2007","DD-MM-YYYY");

Original source of this entry.
Posted by Milan at 2:29 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Milan
View my complete profile

Personal Links

  • Linkedin Profile
  • Flickr Photostream

Blog Archive

  • ►  2012 (3)
    • ►  July (1)
    • ►  April (1)
    • ►  March (1)
  • ▼  2010 (3)
    • ►  June (1)
    • ▼  May (2)
      • Letting Flex know about the date format
      • How to checkout single file from SVN
  • ►  2009 (2)
    • ►  June (2)
  • ►  2008 (7)
    • ►  October (1)
    • ►  August (1)
    • ►  April (5)
  • ►  2007 (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (1)
  • ►  2006 (2)
    • ►  August (1)
    • ►  January (1)
  • ►  2005 (20)
    • ►  November (1)
    • ►  October (2)
    • ►  September (3)
    • ►  August (2)
    • ►  July (1)
    • ►  June (1)
    • ►  May (3)
    • ►  April (2)
    • ►  March (2)
    • ►  February (2)
    • ►  January (1)
  • ►  2004 (25)
    • ►  December (2)
    • ►  November (4)
    • ►  October (7)
    • ►  September (12)

Blogs I read

  • Gloria's Blog
  • Nick's Delphi Blog
  • Delphi Compiler Core
  • Steve Trefethen
  • Coding Horror
  • Scott Guthrie's Blog
  • Joel on Software

Items from Google Reader