Custom date and calculating months

T

Thomas

Hi Im developing forms in Infopath 2007. And I have two problems

Dilemma 1: I have a textbox field1 (formated as Date and Time). When I
choose a date there I want it to populate three new dates in three other
textboxes. That is, field2 + one month, field3 + two months and field4 +
three months. I cant off course not use AddDays since it doesnt conisder how
many days every single month has. I would love if there would be a function
called AddMonths, but I gues there arent :-(

So can someone give me a pointer, how to code or any other sollution.

Dilemma 2: On my date box I use the date format "14 March 2001", but I need
to show the result like !14 March". How can I make that happen?

Kind rgds
Thomas
 

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