Custom Date Formats

T

Trevor Doble

Hi

I am new to Infopath so excuse me if this is a silly question.

I am designing a timesheet form where the user inputs a Period End date
through a Datepicker. I wanted to automatically display the dates for the
previous 14 days in the column headers. This is simple enough, but the dates
are too wide for the columns. Can I format the dates as dd MMM (e.g. 11 Nov)?
 
F

Franck Dauché

Hi Trevor,

If your column headers are just strings that you bound to textboxes on your
form, you could use code behind (Scripting or Managed Code) to calculate the
date to be displayed as well as to format it.

Regards,

Franck Dauché
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top