# dateField output format

**URL:** <https://forum.kirupa.com/t/datefield-output-format/83938>\
**Category:** flash\
**Created:** [March 23, 2005, 11:20am UTC](https://forum.kirupa.com/t/datefield-output-format/83938 "2005-03-23T11:20:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WoGk7](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WoGk7](https://forum.kirupa.com/u/WoGk7)\
**Post date:** [March 23, 2005, 11:20am UTC](https://forum.kirupa.com/t/datefield-output-format/83938/1 "2005-03-23T11:20:37Z")

</div>

Hi.

This should be easy. How do i format the output from a dataField component? I can format what the user sees on the screen, but not what AS sends to PHP.

Right now this is what i get:

Wed Mar 23 00:00:00 GMT+0100 2005

I´m in spain so i need to change it up quite a bit. The hour is useless, it doesn´t work as u can see. By the way i get this using:

```auto

_root.fechaLlegada.selectedDate;

```

I´ve changed the parameters of my component instance so it´s all in spanish. Works on the screen but not in the output as you can see above.
