Default to more logical year when only two digits provided | Community
Skip to main content
pfg51073
Level 2
November 8, 2011
New

Default to more logical year when only two digits provided

  • November 8, 2011
  • 0 replies
  • 715 views

In the SiteCatalyst date range window, if you type in a date in the format DD/MM/YY, it defaults to the year 1000, so 1/1/09 becomes 01/01/1009.  I realize that we should all know better than to type in only 2-digits for a year, but it seems to me there are two different acceptable behaviors when we do:

 

-- Require 4-digits for years (not my preference, but at least it would be clear what's needed)

-- Use some simple logic to default to something in the realm of possible years.  Most websites and tools are able to do this.