Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Date picker
02-15-2021, 01:22 AM,
#1
Date picker
Next month it will be 13 years since Renier submitted his date picker javascript component, which has been successfully used more or less unchanged since then. However all modern browsers have for some years now got their own HTML5 date picker components built in, and I wonder whether it is now time to move to using this.

It requires a small amount of work in each script as the HTML5 component returns dates in the format yyyy-mm-dd but displays the date in the browsers own locale format. This means that we need to simplify the use of the ConvertSQLDate() and FormatDateForSQL() functions. The HTML5 component will also do date validations.

The final result will I think be a nicer looking date picker, and simpler code.

Any thoughts?

Tim
Reply


Messages In This Thread
Date picker - by TimSchofield - 02-15-2021, 01:22 AM
RE: Date picker - by TurboPT - 02-15-2021, 05:54 AM
RE: Date picker - by TimSchofield - 02-15-2021, 09:19 AM
RE: Date picker - by TurboPT - 02-15-2021, 01:03 PM
RE: Date picker - by TimSchofield - 02-15-2021, 08:31 PM
RE: Date picker - by TurboPT - 02-16-2021, 01:05 PM
RE: Date picker - by TimSchofield - 02-16-2021, 11:06 PM
RE: Date picker - by TurboPT - 02-18-2021, 12:52 PM
RE: Date picker - by TimSchofield - 02-18-2021, 07:08 PM
RE: Date picker - by TurboPT - 02-19-2021, 10:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)