Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: February displays as March in my tables
mhaines94108
Newbie

Posts: 1
Registered: 1/30/2004
Member Is Offline
posted on 1/30/2004 at 08:12 PM Reply With Quote
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', ..]
View User's Profile View All Posts By User U2U Member
Ingo
Junior Member

Posts: 2
Registered: 1/22/2004
Member Is Offline
posted on 2/2/2004 at 06:47 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Simple
XP-styled
3D designed
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004