[OTDev] DateTime Format in Web Services

Nina Jeliazkova jeliazkova.nina at gmail.com
Sat Sep 11 00:20:56 CEST 2010


On Fri, Sep 10, 2010 at 9:25 PM, chung <chvng at mail.ntua.gr> wrote:

> Dear All,
>  I think we should adopt a standard data/time format in our web
> services.


Agree.


> First of all, let me remind that the xsd datatype we currently
> use for date is xsd:DateTime.
> I suggest we all used the format "E MMM dd HH:mm:ss Z yyyy", for
> example: Fri Sep 10 19:49:36 EEST 2010. This will facilitate the parsing
> of dates where necessary.
>


A better approach is to adopt UNIX timestamps and not rely on string
representations.  This is what is usually used in XML representations.

Best regards,
Nina


>
> Best Regards,
> Pantelis
> _______________________________________________
> Development mailing list
> Development at opentox.org
> http://www.opentox.org/mailman/listinfo/development
>



More information about the Development mailing list