mhaines94108
Newbie
Posts: 1
Registered: 1/30/2004
Member Is Offline
|
| posted on 1/30/2004 at 08:12 PM |
|
|
February displays as March in my tables
I've got a weird problem that just showed up. My server crashed, so I had to move all the code to a new server. Wouldn't think that
would affect client-side display.
But now "2004-02-30" displays as "Mar 30" in my tables. The date input format is set to "Y-m-d" and the output
format is set as "M d". The 'short_month' variable is unchanged from the original code as ['Jan','Feb', 'Mar', ..]
|
|
|
Ingo
Junior Member
Posts: 2
Registered: 1/22/2004
Member Is Offline
|
| posted on 2/2/2004 at 06:47 PM |
|
|
could be a java specific problem as month in java usually begin with 0 (for january) and end at 11 (for dezember) . so if 2 is used in a date variable
it's march.
but i don't know your serverside structure.
|
|
|