From: White, G. <gr...@sl...> - 2012-02-14 12:54:30
|
Ralph, hang on to your beautiful wife, and never let her go. On 14 Feb 2012, at 13:22, Ralph Lange wrote: > On Tue Feb 14 2012 11:39:14 GMT+0100 (CET), Greg White > <gr...@sl...> wrote: >> OK, so we're standardizing on this form for EPICS V4? >> >> Given by date format +"%Y-%m-%dT:%H:%m:%S" >> 2012-02-14T:08:02:05 >> >> (except the ms/ns part. Matej's example is ms, but date +%N does nanaoseconds) >> >> I take it, to be conforming to our policy, only contiguous components of a datetime >> need be given, and all not given are taken to mean "as now" or zero valued according to >> context. That is, all these are valid for us: >> >> $ date +"%Y-%m-%d" >> 2012-02-14 >> $ date --date="yesterday" +"%Y-%m-%d" >> 2012-02-13 >> $ date +"%Y-%m-%dT:%H:%m" >> 2012-02-14T:11:02 >> $ date +"%Y-%m-%dT:%H:%m:%S" >> 2012-02-14T:11:02:29 >> $ date --date="now" +"%H:%m:%S" >> 11:02:44 > > Ehhhm ... no. > If this is to comply with ISO8601, there should not be a ':' after the 'T'. > > ~Ralph > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d |