NetTalk Central

Author Topic: Display date using picture in a webservice  (Read 4556 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Display date using picture in a webservice
« 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
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Display date using picture in a webservice
« Reply #1 on: October 27, 2017, 07:16:14 AM »
create a local variable, string, put the (formatted) answer in that and return that...

cheers
Bruce

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Display date using picture in a webservice
« Reply #2 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.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186