Representing microseconds in DateTime

Thomas Beale thomas.beale at openehr.org
Tue Feb 2 06:20:44 EST 2016


I don't think there is any assumption that [,sss] means there are no 
microseconds. The field is just called 'fractional_second' and it's a 
Real (i.e. a float). We just used 'sss' as an arbitrary indicator of 
fractional seconds (how many 's' do you want ;-)

- thomas

On 02/02/2016 09:51, Koray Atalag wrote:
>
> Hi,
>
> I have a requirement to capture timeseries data which happens at 250 
> microseconds – that is 0.000250 seconds.
>
> While many programming languages, and the ISO8601 spec, supports this 
> openEHR RM 
> <http://www.openehr.org/releases/RM/latest/docs/support/support.html#_iso8601_time_class> 
> seems to be constrained to milliseconds:
>
> hh:mm:ss[,sss][Z | ±hh[mm]]
>
> Any particular reason we dump microseconds? If not can we add this 
> capability – I think it won’t break any existing code (I hope!)
>
> Cheers,
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20160202/d921ae5f/attachment-0002.html>


More information about the openEHR-technical mailing list