Hi,
When we have dates as part of a webservice resource, it outputs it in the following format as part of the request
<proc>2002-05-04Z</proc>
but the webservice that we are trying to connect to, is failing it, as it expects the date in a different format.
Is it possible to change the format in which is date is sent as part of the request?
Thanks
Rupen
Date format on Web services
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 414
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Hi Rupen,
The only way you can achieve this is by setting the proc field as a String and using the formatdate(date1,string2) function in Ebase to convert a date representation of the field.
e.g
set PROC = formatdate(PROC_DATE, 'dd/MM/YYYY');
and changing the PROC field display type to character.
Hope this helps.
Steve
The only way you can achieve this is by setting the proc field as a String and using the formatdate(date1,string2) function in Ebase to convert a date representation of the field.
e.g
set PROC = formatdate(PROC_DATE, 'dd/MM/YYYY');
and changing the PROC field display type to character.
Hope this helps.
Steve
0 x
-
- Ebase User
- Posts: 5
- Joined: Tue Nov 06, 2007 1:08 pm
Who is online
Users browsing this forum: No registered users and 127 guests