NetTalk Central

Author Topic: NetWebForm - "Date" field using "dd/mm/yyy"  (Read 5650 times)

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
NetWebForm - "Date" field using "dd/mm/yyy"
« on: April 01, 2010, 02:07:15 AM »
Using Nettalk 4, Clarion 6.3 ABC.

On a NetWebForm, I have defined a field of type "Date" and the variable in the dictionary is defined as "@D02". In the application as the global template level, I have selected "mm/dd/yyyy" for date format.

However when the form is displayed in the browser, it is showing the date in "dd/mm/yyyy" format even though the comment shows "mm/dd/yyyy".

What can I do to get the date to show the proper way (well at least proper in USA)?

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #1 on: April 01, 2010, 02:47:57 AM »
Try @D02 with no quotes on the Web Server template

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #2 on: April 01, 2010, 02:58:02 AM »
Where would that be?

Looking at the NewWebForm, Fields Tab; Property; Property again on the field in question, I don't see anywhere to enter a format. Keep in mind that this is a type "Date" *selected from drop list.


kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #3 on: April 01, 2010, 03:09:48 AM »
its on your web server procedure, Netsimple extension, settings Tab, date picture format - so its a global setting

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #4 on: April 01, 2010, 03:18:19 AM »
Hum - on my program the "Date Picture Format" on Settings; General tab is a pull down with two options - mm/dd/yyyy and dd/mm/yyyy. I already have selected the mm/dd/yyyy format which is what I want put in the specific case mentioned, it is not using that but the other format.

I'm using Nettalk version 4.47.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #5 on: April 02, 2010, 12:36:04 AM »
Hi Barton,

I've tried to duplicate the problem in example #1, with no success.
Can you try it there on your side and see if it makes any difference?

Cheers
Bruce


bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #6 on: April 02, 2010, 02:21:02 AM »
Yes, I can duplicate using Nettalk example #1.
I have attached a PDF showing screen capture of screen with dates on wrong order and the NetServer setting screen.

Version that I am using is 4.47.


[attachment deleted by admin]

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: NetWebForm - "Date" field using "dd/mm/yyy" -- supplement to prior!
« Reply #7 on: April 02, 2010, 02:32:10 AM »
Whoops, after posting prior realized that global setting was wrong. I changed it and recompiled all (deleted all *.clw to make sure) but still getting the wrong date sequence shown.

New corrected "Setting" screen capture attached.



[attachment deleted by admin]

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
Re: NetWebForm - "Date" field using "dd/mm/yyy"
« Reply #8 on: April 05, 2010, 03:54:18 AM »
Bruce, it is now working.

Over the weekend uninstall Nettalk and reinstalled. Erased all object, etc from project folder and then recompiled. It is now working correctly. Strange but the good news is that it is working now - hurray!