xf:dateTime format customization

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xf:dateTime format customization

Arjun
 Hi ,

    I have a requirement to change the format for dateTime control(say as DD-MON-YYYY hh:mm:ss)?will it be possible for input control for have this format?can i use xxf:format for input control to customize date /time .


Regards
Nagarjuna.Y
Reply | Threaded
Open this post in threaded view
|

Re: xf:dateTime format customization

Alessandro  Vernet
Administrator
Hi Nagarjuna,

I think this should help: http://stackoverflow.com/a/8364991/5295. But of course, just let us know if this doesn't completely answer your question.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: xf:dateTime format customization

Arjun
Hi Alex,

          The link shared is helpful for me.but my problem is that ,On Clicking the datepicker image and selecting the Date it should convert as (DD-MON-YYYY) so far I was successful if it is a Date control as i was using "xxf:format" to change the format after selecting date from datePicker .
But now the problem am facing is with dateTime control as I was unable to change the format for date and display formatted date in date filed and Time in time control.

regards,

Nagarjuna.