HomeAbout

Date Formatter

Format date timestamps by using various strings.

http://www.yapiodesign.com/blog/2005/11/10/dateformatter-static-class-update-of-darron-schalls-dateformatas/

Actionscript:
  1. import DateFormatter;
  2. var testDate:Date = new Date();
  3. trace(DateFormatter.formatTo(testDate, "mm/dd/yyyy"));

2 Comments »

  1. This is a dead link?

    Comment by adam alexander — January 29, 2008 @ 10:17 pm

  2. Worked for me, though it did take a long time to load.

    Comment by admin — January 31, 2008 @ 11:40 am

RSS feed for comments on this post. | TrackBack URI
You can also bookmark this on del.icio.us or check the cosmos

Leave a comment





XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .
« Atom    FrameDelay »