I need my REST service to return as a date time:
- 01 - Acceptance-language> DC -2009: N-US
- 01- Accept Dies -2009-For Language: pt -BR
Thank you!
André Karluchi
How are you sorting those DateTimes?
It seems to me that they have been converted into wires, in this situation you can inspect the property and inject a suitable culture infocine into a simple string. Formatt () call.
The standard XML serializer describes a culture-agnostic format:
Datetime is specified in the following form "YYYY-MM-DDThh: mm: ss"
- YYYY indicates year
- indicates MM month
- DD indicates day
- T The beginning of the required time segment indicates
- In UTC
No comments:
Post a Comment