today() function is not working why? - InfoPath Dev
in

InfoPath Dev

today() function is not working why?

Last post 01-11-2013 07:15 AM by Hilary Stoupa. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 01-07-2013 12:15 PM

    today() function is not working why?

    Hi,

    for my date field in the infopat i am setting the default date to today date using the function today(). but it is setting to previous date.

    on some machines it is working fine and some other machine it is not working. i had verified the system date as well.

     does anybody know what could be the reason.

    thanks,

  • 01-08-2013 07:51 AM In reply to

    Re: today() function is not working why?

    Is this in InfoPath Filler or in the browser? Maybe on the machines that are not working as anticipated, try a form that shows the value of now() - the XML value, not formatted, and see if the result is what you anticipate.
    Hilary Stoupa

  • 01-08-2013 08:03 AM In reply to

    Re: today() function is not working why?

    thanks for your reply

    it is in the browser.

  • 01-08-2013 08:07 AM In reply to

    Re: today() function is not working why?

    How odd. Everything is in the same time zone?

    Hilary Stoupa

  • 01-08-2013 07:01 PM In reply to

    Re: today() function is not working why?

    thanks for the reply. 

    timezone is same. strange thing is this is working fine on my development environment. at the production server it is behaving like that.

    what could be the reason?

    thanks,

     

  • 01-08-2013 07:07 PM In reply to

    Re: today() function is not working why?

    thanks for the reply.

    everything is in the same timezone. but the strange thing is it is working fine on my development environment and only problem is coming on the production server. hence i verified on the production server timezone and date time setting everything is fine. but the today date is not getting populating.

    what could the reason?

    thanks,

     

  • 01-09-2013 07:36 AM In reply to

    Re: today() function is not working why?

    So - in your initial post, you said the date was incorrect - now you are saying it isn't populating? Can you clarify the issue?
    Hilary Stoupa

  • 01-09-2013 10:25 AM In reply to

    Re: today() function is not working why?

    thanks for your reply.

    i am sorry for  that.

    my problem is date is populating but it was not correct date.

    thanks,

     

  • 01-11-2013 07:15 AM In reply to

    Re: today() function is not working why?

    Okay - so on the test server, the date is correct and on the production server, the date is not correct - for all users? for just some users? Sorry, I've not run into this before, just trying to make sure all the details are straight in case someone else has any ideas. :-)

    Hilary Stoupa

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