[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Fixed Protect Stop Date in BL-M-4-20 also has +10:00 time zone
5.4.1.6.12 Date-Time
For XML, value uses [XML-SCHEMA] type xsd:dateTime
<ArchiveDate type="DateTime" value="2001-01-01T10:00:00+10:00"/>
From the KMIP Spec:Date-Time values are POSIX Time values encoded as Long Integers. POSIX Time, as described in IEEE Standard 1003.1 [IEEE1003-1], is the number of seconds since the Epoch (1970 Jan 1, 00:00:00 UTC), not counting leap seconds.So to get the real number of seconds for the Protect Stop Date I have to put the time below into UTC time first just to generate the proper TTLVCan we change all of these to GMT please.<RequestMessage>Â <RequestHeader>Â Â <ProtocolVersion>Â Â Â <ProtocolVersionMajor type="Integer" value="2"/>Â Â Â <ProtocolVersionMinor type="Integer" value="0"/>Â Â </ProtocolVersion>Â Â <BatchCount type="Integer" value="1"/>Â </RequestHeader>Â <BatchItem>Â Â <Operation type="Enumeration" value="Locate"/>Â Â <RequestPayload>Â Â Â <Attributes>Â Â Â Â <ObjectType type="Enumeration" value="SecretData"/>Â Â Â Â <ProtectStopDate type="DateTime" value="2000-01-01T00:00:00+10:00"/>Â Â Â Â <ProtectStopDate type="DateTime" value="2000-02-10T00:00:00+10:00"/>Â Â Â </Attributes>Â Â </RequestPayload>Â </BatchItem></RequestMessage>Best,Mark JosephP6R, Inc408-205-0361
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]