firedrop84 Posted June 8, 2007 Share Posted June 8, 2007 Hi All, I got a java script that is Date Picker but the format is year - month - day (YYYY - MM - DD). I need a date picker which is with different format (DD - MM - YYYY). something without time. does anyone knows where can I get a script on net that is already written for this. Regards, Firedrop Quote Link to comment Share on other sites More sharing options...
micah1701 Posted June 8, 2007 Share Posted June 8, 2007 why don't you just hack the one you have? figure out where in the javascript it formats the date and then re-arrange it. post some code if you want some help. Quote Link to comment Share on other sites More sharing options...
firedrop84 Posted June 9, 2007 Author Share Posted June 9, 2007 Thank you for your reply. I have attched the script that I am using for the date picker. Can you help on re-arrange it as i dont have much knowledge in JS. Regards, firedrop [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
nogray Posted June 12, 2007 Share Posted June 12, 2007 You can change the format on these two lines line 535 p_format = "YYYY-MM-DD"; line 554 p_format = "YYYY-MM-DD"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.