Additional Info on Time perspective for eg on "dc:created"
What format does time in dc:created is?
What does z in the end refer to? What it takes to convert it to some other format in perl for example: May 1, 2014, 2:53 AM |
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 : c:created":"2009-06-12T13:11:29.331Z", and display it in format say : |
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 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi Shalini
With reference to:
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Adding_a_Comment_to_a_Work_Item
I want to read the value :