Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
1649 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Does anybody know of a way to specify toxml() to not append a Z to the end of da
jamesw353
over 10 years ago
Does anybody know of a way to specify toxml() to not append a Z to the end of date,date time, and time data types? I could manipulate the text after the fact, but I'd rather have toxml() do all the work.
I copied an example below.
[date=8/15/2013, dateTime=8/15/2013 8:04 PM, time=8:04 PM]
<n5:throwaway><date>2013-08-15Z</date><dateTime>2013-08-15T20:04:51.170Z</dateTime><time>20:04:51.174Z</time></n5:throwaway>...
OriginalPostID-77559
OriginalPostID-77559
Discussion posts and replies are publicly visible
0
Pavithra Srinivasan
over 10 years ago
UTC timezone is sometimes denoted by Z. To understand further,
1) What is the timezone setting you are using?
2) Does your code look something like - toxml("8/15/2013",true(), "Date", "") and where are you viewing the output?
3) Have a look at
forum.appian.com/.../
. This is not about having a Z, but about having EST appended.
4) And what is the issue this Z is causing?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw353
over 10 years ago
1) The server, user, and process are set for EST (UTC -5).
2) This is the code that I'm using to generate the xml. toxml(ac!cdtZMathInput, false, "zMathInput", "") which saves to a process variable and goes into a web service call. I'm viewing the output by looking at the pv.
3) I did not see that before. But I did try using some of the date\ ime functions when setting the cdt variables with the same results.
4) The xml is being sent to an outside web service. Which is not accepting the date with the appended timezone code.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jayashrib223
over 9 years ago
Hi Jamesw353, did you find any solution to this issue? I am facing the same issue. Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel