( Hi List, after a long break. I was on back packing Europe for 10 days - My first visit to Europe- and Implementation in Oman for 15 days. 1st 10 days superX, next 15 days! gaaaa!!! )
Ok I have the same type of a problem here. I was trying very much to "convert" my customer from MDY to YMD. for them it seems very odd. and I found that I am not much of a missionary. Now I have to live with the MDY Puzzle further. My Customer requests date validation at Browser. Visitor should be able to enter freely on the date field. So I have all sort of issues. I get Different date formats accepted in different browsers. and when I get the date from the database and show it In the input field. One browser treat it in DD/MM/YYYY form while the other treat it As MM/DD/YYYY format. I never had problems on this before because I used to validate date at the server. Now I am looking for a good, reliable and simple date validation function in java script. I don't want to write it myself because 1. I am not much Of JavaScriptor 2. I am sure there are 100s of much better scripts out there. Also I need date compare and addition functions in JavaScript's. Scripts that I found in web are very long. I feel its wate of bandwidth to pass such huge JavaScript to client-side just to do a simple validation. Which I could do easily at server. Or? is there any suggestion I could do the same without a big JavaScript function. Thanks Kuminda Chandimith Sr. Technical Consultant Ducont.com FZ-LLC Tel: + 971-4-3913000 Ext 237 Fax: +971-4-3913001 http://www.ducont.com -----Original Message----- From: David L. Penton [mailto:[EMAIL PROTECTED]] Sent: 01 October 2002 17:49 To: ActiveServerPages Subject: RE: session.LCID for NewZealand in XP ISO8601 Strictly speaking, YYYYMMDD is the basic, or standard format. YYYY-MM-DD is the extended format: http://www.pvv.ntnu.no/~nsaa/8601v2000.pdf (just putting out documentation for the masses :-) Heh...why can't the world use the metric system? (and this is coming from an American :-) David L. Penton, Microsoft MVP JCPenney Application Specialist / Lead "Mathematics is music for the mind, and Music is Mathematics for the Soul. - J.S. Bach" [EMAIL PROTECTED] Do you have the VBScript Docs or SQL BOL installed? If not, why not? VBScript Docs: http://www.davidpenton.com/vbscript SQL BOL: http://www.davidpenton.com/sqlbol -----Original Message----- From: Schober Wolfgang - OS ZDEM [mailto:[EMAIL PROTECTED]] why not stick to ISO format: yyyy-mm-dd Wolfgang -----Original Message----- From: Bostrup, Tore [mailto:[EMAIL PROTECTED]] I'd be all for a worldwide standard date format - but I'd much prefer a yyyy.mm.dd format (less chance for confusing with old formats where the order of day and month is ambiguous, it would sort correctly even as a string, and couldn't be mistaken for a numeric expression). Who do we talk to about this... :-> Tore. -----Original Message----- From: Scott [mailto:[EMAIL PROTECTED]] You're probably better off finding/developing a custom date formatting routine for two reasons. 1. You never have to worry about the server settings. 2. If you disable session state you won't be able to rely on using Session.LCID Why can't we all just settle on dd-mm-yyyy? ;) hth ----- Original Message ----- From: "Paul Broomfield [NEOCOM]" <[EMAIL PROTECTED]> : Hi, : : Has anyone got the same problem as me when trying to force the LCID to NZ : (5129) that dates still come out in US format? I can set the LCID to British : English (2057) and date look fine. : : I'm developing on XP Pro : : Any ideas : Thanks : Paul : : Paul Broomfield : NEOCOM Ltd : 50 Dalton Street : Napier : New Zealand : : Tel +64 06 8355534 : WebSite http://www.neocom.co.nz --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
