| 12345678910111213141516171819 |
- package com.imt.intimamedia.helpers
- {
- import mx.formatters.DateFormatter;
-
- public class DateConverter
- {
- public function DateConverter()
- {
- }
-
- public static function convertDateToString( value : Date ) : String
- {
- var dateFormatter : DateFormatter = new DateFormatter();
- dateFormatter.formatString = "DD-MM-YYYY";
-
- return dateFormatter.format( value );
- }
- }
- }
|