开发者

Which timezone should I imply in my web service interface?

I'm implementing a REST web service that will be used from all around the world. The serv开发者_如何学Goice will accept "date and time" datatype parameters and serve results also containing "date and time" datatype.

The question is - which timezone do I assume "date and time" belongs to? Do I just force all users to use UTC or is there a better way around?


Either include a Timezone property to this service allowing it to specify or assume UTC.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜