|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 05 > 20 > Telegram_2023-05-20T16 |
2023-05-20T16:49:01
The IWBSInput control does the same as the IWEdit does when dealing with Dates (i.e. when IWEdit.DataType = stText): It uses the ISO8601 format for dates. That's how browsers do it.
2023-05-20T16:49:19
the ISO8601 format for dates is yyyy-mm-dd
2023-05-20T16:51:10
Then receiving the text representation of a date that you entered in both IWBSInput or IWEdit, the browser will *always* send the field as yyyy-mm-dd, regardless of the user local configuration. All browsers do that. It's part of the standard that was created to deal with these regional settings
2023-05-20T16:52:18
The browser will always present the input to the user, using their local configuration for date, also, regardless of your application setting. That's why it works well. Your application doesn't need to know how a user computer is configured to correctly format the date as they expect
2023-05-20T16:56:16
I'd say that IWEdit is a little better handling it and they are slightly different under the hood but the result should be the same in both cases