![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I just want to enter today's date in a text input box with the format mm/dd/yyyy when it receives focus. I've been playing around with this but just can't seem to get it to work. |
#3
| |||
| |||
|
|
JRS: In article <wRFcb.20144$jO.19590 (AT) bignews3 (DOT) bellsouth.net>, seen in news:comp.lang.javascript, Dwalker <dl_walker (AT) hotmail (DOT) com> posted at Thu, 25 Sep 2003 13:47:05 :- I just want to enter today's date in a text input box with the format mm/dd/yyyy when it receives focus. I've been playing around with this but just can't seem to get it to work. That format should nor be used on the World-Wide Web; since only a few countries use it, it is generally misleading (as is dd/mm/yyyy, of course). |
#4
| |||
| |||
|
|
JRS: In article <wRFcb.20144$jO.19590 (AT) bignews3 (DOT) bellsouth.net>, seen in news:comp.lang.javascript, Dwalker <dl_walker (AT) hotmail (DOT) com> posted at Thu, 25 Sep 2003 13:47:05 :- I just want to enter today's date in a text input box with the format mm/dd/yyyy when it receives focus. I've been playing around with this but just can't seem to get it to work. That format should nor be used on the World-Wide Web; since only a few countries use it, it is generally misleading (as is dd/mm/yyyy, of course). |
#5
| |||
| |||
|
|
Dr John Stockton said: JRS: In article <wRFcb.20144$jO.19590 (AT) bignews3 (DOT) bellsouth.net>, seen in news:comp.lang.javascript, Dwalker <dl_walker (AT) hotmail (DOT) com> posted at Thu, 25 Sep 2003 13:47:05 :- I just want to enter today's date in a text input box with the format mm/dd/yyyy when it receives focus. I've been playing around with this but just can't seem to get it to work. That format should nor be used on the World-Wide Web; since only a few countries use it, it is generally misleading (as is dd/mm/yyyy, of course). Curiosity: How widely accepted is yyyy-mm-dd out there in the Rest of The World? In addition to software development, I've been using it on bank drafts and forms for several months, but have never spotted it in the wild (USA-AZ). |
#6
| |||
| |||
|
|
"Dr John Stockton" <spam (AT) merlyn (DOT) demon.co.uk> wrote in message news:ro82WVGt+Ad$Ewq6 (AT) merlyn (DOT) demon.co.uk... JRS: In article <wRFcb.20144$jO.19590 (AT) bignews3 (DOT) bellsouth.net>, seen in news:comp.lang.javascript, Dwalker <dl_walker (AT) hotmail (DOT) com> posted at Thu, 25 Sep 2003 13:47:05 :- I just want to enter today's date in a text input box with the format mm/dd/yyyy when it receives focus. That format should nor be used on the World-Wide Web; since only a few countries use it, it is generally misleading (as is dd/mm/yyyy, of course). Things became confusing only after the colonists in the New World went looking for an identity in spelling anomalies. |
|
No 'countries' that I know of use the format yyyy/mm/dd although that is the one which sorts alphabetically and chronologically simultaneously. |
|
Or would you suggest using the Julian Day Number? |
![]() |
| Thread Tools | |
| Display Modes | |
| |