NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: mmelby on February 14, 2013, 02:25:26 PM

Title: Date format
Post by: mmelby 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.
Title: Re: Date format
Post by: ccordes 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
Title: Re: Date format
Post by: Bruce 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
Title: Re: Date format
Post by: mmelby on February 15, 2013, 06:20:44 AM
Understood. Thank you.
Title: Re: Date format
Post by: mmelby 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.
Title: Re: Date format
Post by: terryd 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)?
Title: Re: Date format
Post by: mmelby 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.