SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Formatting Date Display
-
Jul 22, 2003, 15:51 #1
- Join Date
- Jul 2003
- Location
- Great Northwet
- Posts
- 91
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Formatting Date Display
I just coded myself into a corner.
Within a pair of <p> tags I have two different scripts, each called by its own #include statement, and each displaying the current date - each in a different format.
The first calls only for the year( yyyy ). The second calls for a complete date ( mm/dd/yyyy ).
However when it displays,
- the first displays correctly ( yyyy )
- the second wrongly displays ( yyyy ) instead of ( mm/dd/yyyy )
How can I get the second date to display correctly?Snorky
Bless the little children while they're still too young to hate.
- Tom T. Hall
-
Jul 22, 2003, 23:34 #2
-
Jul 23, 2003, 13:34 #3
- Join Date
- Jul 2003
- Location
- Great Northwet
- Posts
- 91
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It was a hardware problem: loose nut on the keyboard. When I went to gather up the code to send it in, I found the error. It seems that Javascript refuses to second-guess my typos.
Sorry for cluttering up the turf.Snorky
Bless the little children while they're still too young to hate.
- Tom T. Hall
-
Jul 23, 2003, 14:10 #4
Bookmarks