NetTalk Central

Author Topic: Date format  (Read 4468 times)

mmelby

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Date format
« on: February 14, 2013, 02:25:26 PM »
I am using Clarion 8.0.9759 and NT 7.05

I have a couple of date fields in my table. In the dictionary I have the picture defined as @d17. On my web browse the date displays as I expect (mm/dd/yyyy) on the form it displays as dd/mm/yyyy. I cannot find anywhere to correct this.

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Date format
« Reply #1 on: February 14, 2013, 04:14:58 PM »
I'm not working in ver 7, but in other versions, d17 wasn't supported. You'll need to set the picture to d16 or lower.

I hope I'm wrong about Ver7
JM2ยข

Chris
Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Date format
« Reply #2 on: February 14, 2013, 09:59:08 PM »
@d17 has no meaning in the web context because it would just return the date format of the _server- not the _browser_ so only date pics up to @d16 should be used.

cheers
Bruce

mmelby

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Date format
« Reply #3 on: February 15, 2013, 06:20:44 AM »
Understood. Thank you.

mmelby

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Date format
« Reply #4 on: February 15, 2013, 08:13:31 AM »
Well, We are half way there.

I changed all the dates in my dictionary to @d2. The dates appear as mm/dd/yyyy in the browses. They still show up as dd/mm/yyyy in the forms.

I have deleted all the clw and obj files and regenerated all source.

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Date format
« Reply #5 on: February 17, 2013, 12:31:29 AM »
WAG. Have you changed the Date Picture on the Nettalk or Net Simple Object extension to the webserver (General Tab)?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

mmelby

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Date format
« Reply #6 on: February 19, 2013, 05:05:40 AM »
I had not as I assumed it would take the picture from the dictionary. I added a picture under the settings tab of the field and all is good.