Dates and regional settings - InfoPath Dev
in

InfoPath Dev

Dates and regional settings

Last post 10-25-2005 01:43 AM by tatopitta. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 10-25-2005 01:43 AM

    Dates and regional settings

    Hi all!
    I have a problem using DateAdd function in VBScript: on my machine with italian regional settings it works fine while in the other machine with english regional setting and with the same templete it doesn't work. Let me explain better what is going bad:
    I have a string to rappresent date in this format: yyyymmdd. So my funtion translates it into dd/mm/yyyy, i used it to calcolate the date of days of the week DateAdd("d",0,...)-->DateAdd("d",6,...) and then i translate again each of 7 dates into yyyymmdd format.
    On my machine it works while in other with english regional settings months are not displayed (for ecample: "200531"). Do you think this happens becouse regional settings are different?If it's true, how can i solve the problem?

    Thank u for your advices :=)
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.