[Developers] datetime format

Arthur van Hoff AVH at zing.net
Fri Feb 1 04:56:58 UTC 2008


Not sure I understand, both styles occur in my property values, and the documentation does not mention the first format. I guess I need to read both? I assume that the -00:00 is a timezone. Why is that included if we always use UTC?

> -----Original Message-----
> From: developers-bounces at freebase.com [mailto:developers-
> bounces at freebase.com] On Behalf Of Christopher R. Maden
> Sent: Thursday, January 31, 2008 8:53 PM
> To: For discussions about MQL,Freebase API and apps built on Freebase
> Subject: Re: [Developers] datetime format
> 
> Arthur van Hoff wrote:
> > I’m finding some dates that are of the format: 2008-01-28T07:24:17-
> 00:00
> >
> > According to the documentation the format should be:
> > 2008-01-28T07:24:17.000Z
> >
> > What is going on here? What formats should I be prepared to handle?
> 
> Hi, Arthur.  Datetime valued properties will not have an explicit
> timezone assertion; they are all in UTC.
> 
> The latter form is used for system time assertions, like the dateline
> on
> a write or read, but not for actual property values.
> 
> ~Chris
> --
> Christopher R. Maden
> Data Architect
> Metaweb Technologies, Inc.
> <URL: http://www.metaweb.com/ >
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers


More information about the Developers mailing list