NetTalk Central

Author Topic: Time and date format in webservicemethod  (Read 4093 times)

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • Email
Time and date format in webservicemethod
« on: July 05, 2016, 10:07:36 AM »
Hi

From where I can change time or date-fields format?

Regards

Jari

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Time and date format in webservicemethod
« Reply #1 on: July 06, 2016, 01:06:31 AM »
Hi Jari
Not sure if this is what you need but there is a default date picture on the webserver extension General settings Tab
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • Email
Re: Time and date format in webservicemethod
« Reply #2 on: July 06, 2016, 02:51:34 AM »
Hi Terry

I think that this option does not work with the webservicemethod.
I use MySQL database and the field is Date-type
However what I get out is Clarion date format

Jari

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Time and date format in webservicemethod
« Reply #3 on: July 07, 2016, 04:58:39 AM »
Hi Jari,

So are you asking about how to format a field when including it in the output of a NetWebServiceMethod?

That's kinda different to what you originally asked :)

cheers
Bruce


jari@softmade.fi

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • Email
Re: Time and date format in webservicemethod
« Reply #4 on: July 07, 2016, 09:51:43 PM »
Hi Bruce

I had problems with the input and output but now the input is solved :)
I added some code in  PrimeRecord routine where I reformated the input values.

I still have problems with the output 

Jari

ps. NetwebServiceMethod is fantastic !!!