Additional Info on Time perspective for eg on "dc:created"
2 answers
With reference to:
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Adding_a_Comment_to_a_Work_Item
I want to read the value :
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Adding_a_Comment_to_a_Work_Item
I want to read the value :
c:created":"2009-06-12T13:11:29.331Z", and display it in format say :
May 1, 2014, 2:53 AM in perl.
Above mentioned questions are asked in this context
Hi Shalini,
The format is ISO 8601.
See : http://en.wikipedia.org/wiki/ISO_8601
So:
YYYY-MM-DD "T" hh:mm:ss.ms "Z"
Where T is the separator between date and time
and "Z" is Zulu time zone, or Zero hour offset or UTC.
To convert inPerl to other formats see the Perl module:
DateTime::Format::ISO8601
http://search.cpan.org/~jhoblitt/DateTime-Format-ISO8601-0.08/lib/DateTime/Format/ISO8601.pod
Enjoy,
Simon
The format is ISO 8601.
See : http://en.wikipedia.org/wiki/ISO_8601
So:
YYYY-MM-DD "T" hh:mm:ss.ms "Z"
Where T is the separator between date and time
and "Z" is Zulu time zone, or Zero hour offset or UTC.
To convert inPerl to other formats see the Perl module:
DateTime::Format::ISO8601
http://search.cpan.org/~jhoblitt/DateTime-Format-ISO8601-0.08/lib/DateTime/Format/ISO8601.pod
Enjoy,
Simon
Comments
Sumant Renukarya
May 05 '14, 6:52 a.m.Hi Shalini
shalini saini
May 05 '14, 7:08 a.m.With reference to:
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Adding_a_Comment_to_a_Work_Item
I want to read the value :