How to get number of days in Month in infopath browser enable form. - InfoPath Dev
in

InfoPath Dev

How to get number of days in Month in infopath browser enable form.

Last post 09-21-2010 06:33 AM by Alec Pojidaev. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-21-2010 02:08 AM

    How to get number of days in Month in infopath browser enable form.

    Hi,

    1) I have today date i want to calculate number of days in current month in my form.

    2) Using that days i want to add days into current date. If Month days ==30 then todaysdate+15 if days==31 then todaysdate+16 if days==28 then todaysdate + 13

    please suggest any idea. Thanks.

     

     

    Bhavin A Sankhat
  • 09-21-2010 06:33 AM In reply to

    Re: How to get number of days in Month in infopath browser enable form.

    Thats easy. You need to find date difference between the 1st of the current month and the 1st of the following month.

    It's pretty obvious how to get the date of the 1st of the following month. (it's just a string manipulation with current date. Dont forget about the exlusion of the 12th month)

     Then apply this approach

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.