Web Services Developer's Guide → Web Services API Reference → SBM Administrative Web Services → Common Types → DatePreference
DatePreference indicates a user's preferred date format. The available options are listed below.
Name | Type | Description |
---|---|---|
DATE-FORMAT-FROM-LOCALE | string | Use the format based on the user's locale. |
DATE-FORMAT-MM-DD-YYYY | string | Use a MM-DD-YYYY format for dates. |
DATE-FORMAT-DD-MM-YYYY | string | Use a DD-MM-YYYY format for dates. |
DATE-FORMAT-DD-MM-YYYY.S | string | Use a DD.MM.YYYY format for dates. |
DATE-FORMAT-YYYY-MM-DD | string | Use a YYYY-MM-DD format for dates. |
DATE-FORMAT-LEAVE-UNCHANGED | string | Do not change the current date format. Sent by default if not specified. |
DatePreference is used to determine how dates display to users. The various date formats are returned in the datePreference parameter of the GetUsers response. See UserInfo for more information.
The following XML shows DatePreference as seen in the return element of the GetUsers call.
<ae:datePreference>DATE-FORMAT-MM-DD-YYYY</ae:datePreference>
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.