NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on October 27, 2017, 03:05:21 AM

Title: Display date using picture in a webservice
Post by: terryd on October 27, 2017, 03:05:21 AM
We have built a webservice in which the customer enters a code. We return a description and a date from the table.
 The table is an MSSQL table and the field is a Date field. The date displays as a Clarion Date (78000). I would like it to display a formatted date (@D10-)
Help would be appreciated
Title: Re: Display date using picture in a webservice
Post by: Bruce on October 27, 2017, 07:16:14 AM
create a local variable, string, put the (formatted) answer in that and return that...

cheers
Bruce
Title: Re: Display date using picture in a webservice
Post by: terryd on October 29, 2017, 03:30:40 AM
Hi Bruce. Yes that's what we had done. Was just wondering if that was the best way.