Expand my Community achievements bar.

can this really be formatted?

Avatar

Level 1

I have a livecycle form that is bound.

This is an example of one bound field:     <myTime>0001/12/31 09:15:00.931 MST</myTime>

I want to format this to look like:   09:15

Is this even possible?

Thank you so much!  I appreciate the support.

2 Replies

Avatar

Level 10

Hi,

If you use a data field with the data format (on the binding tab) set to date-time then use a data format pattern of;

date{YYYY/MM/DD} time{HH:MM:SS.FFF Z}

and a display format pattern of;

time{HH:MM}

Regards

Bruce

Avatar

Level 1

Thank you so much, Bruce.  I tried a dozen times but I still get the message that the pattern is not valid.

1.  I made the field type "Date/Time" and tried - pattern not valid

2.  I made the field type "TextField" and tried - pattern not valid

I'm sure I am doing something wrong.  Can you see what I am doing wrong?