日期时间数据字段(在日期选择控件上)关闭1天 [英] date-time data field (on date-picker control) off by 1 day

查看:74
本文介绍了日期时间数据字段(在日期选择控件上)关闭1天的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在维护一个infopath 2003表单,在其中添加了一个日期选择控件并修改了为表单提供数据源的Web服务.在检查Web服务是否正在从数据库正确存储和检索日期时间值的同时,表单显示了错误的日期,该日期比Web服务返回的日期时间值早了一天.

新添加的日期选择器正在使用英语(澳大利亚)"日期时间格式的语言环境(我在N.America中),与表单上已经存在的所有其他日期选择控件相同.除了新添加的日期选择控件外,所有其他日期时间字段都显示正确的日期.

有什么想法吗?感谢您的帮助.

非常感谢,
-谦虚的我-

Hi,

I am maintaining a infopath 2003 form, to which I added a date-picker control and modified the webservice that provides the datasource for the form. While I have checked that the webservice is storing and retrieving the date-time value correctly from the database, the form is showing a wrong date which is one day back from the date-time value returned by the webservice.

The newly added date picker is using "English(Australia)" locale for date-time format (I'm in N.America), which is the same as all other date-picker controls that already existed on the form. Except for the newly added date-picker control, all other date-time fields are showing the correct date.

Any idea? Your help is appreciated.

Thanks a lot,
-the humble me-

推荐答案

<身体> -我-写道: <身体>


我要保留一个infopath 2003表单,在其中添加了一个日期选择器控件并修改了提供以下内容的数据源的Web服务:形式.在检查Web服务是否正在从数据库正确存储和检索日期时间值的同时,表单显示了错误的日期,该日期比Web服务返回的日期时间值早了一天.

新添加的日期选择器正在使用英语(澳大利亚)"日期时间格式的语言环境(我在N.America中),与表单上已经存在的所有其他日期选择控件相同.除了新添加的日期选择控件外,所有其他日期时间字段都显示正确的日期.

有什么想法吗?非常感谢您的帮助.

非常感谢,
-谦卑的我-
 -me- wrote:
Hi,

I am maitaining a infopath 2003 form, to which I added a date-picker control and modified the webservice that provides the datasource for the form. While I have checked that the webservice is storing and retrieving the date-time value correctly from the database, the form is showing a wrong date which is one day back from the date-time value returned by the webservice.

The newly added date picker is using "English(Australia)" locale for date-time format (I'm in N.America), which is the same as all other date-picker controls that already existed on the form. Except for the newly added date-picker control, all other date-time fields are showing the correct date.

Any idea? Your help is appreciated.

Thanks a lot,
-the humble me-


这篇关于日期时间数据字段(在日期选择控件上)关闭1天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆