jolicatellas Posted March 28, 2009 Share Posted March 28, 2009 I have changed my date format as per the following instructions but I'm still getting the error message: "Your Date of Birth must be in this format: DD/MM/YYYY (eg 21/05/1970)." Even when I put the date in exactly as shown the error message still comes up. 16. … Change the date format to DD/MM/YYYY? Go to catalog/includes/languages/English.php and around line 21 CODE define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime() change it to CODE define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() Then around line 23 find this CODE define('DATE_FORMAT', 'm/d/Y'); // this is used for date() and change it to CODE define('DATE_FORMAT', 'd/m/Y'); // this is used for date() You also need to make the same changes in catalog/ADMIN/includes/languages/English.php Also since changing the date formats I'm getting this error message as well: " Error Please select a state from the States pull down menu. " Needless to say... there are not states listed in the pull down menu and no matter what I type in the error message remains. Anyone know what I'm missing?? Jols Link to comment Share on other sites More sharing options...
spooks Posted March 28, 2009 Share Posted March 28, 2009 Need more on what u doing with what & where These may help anyway Date of Birth PullDown http://addons.oscommerce.com/info/3778 UK DATES UK-Based osCommerce 2.2 http://addons.oscommerce.com/info/2816 & Pull down UK county list http://addons.oscommerce.com/info/5889 Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
sLaV- Posted March 28, 2009 Share Posted March 28, 2009 Instead of getting your customers to type in these details, change them to drop down boxes - you would highly benefit from installing these contributions: Country-State Selector Date of Birth PullDown :) [edit]damn u sam ... too quick buddy :P[/edit] Link to comment Share on other sites More sharing options...
jolicatellas Posted March 28, 2009 Author Share Posted March 28, 2009 Need more on what u doing with what & where Thanks for your responses. I am creating a customer account & it's asking for my date of birth in US (I want Oz) and the State/Province thing... Link to comment Share on other sites More sharing options...
jolicatellas Posted March 28, 2009 Author Share Posted March 28, 2009 thanks for your replies. "Need more on what u doing with what & where" I'm trying to create a customer account & have the date of birth set to Oz. State/Province was working fine til I played around with the dates... Link to comment Share on other sites More sharing options...
spooks Posted March 28, 2009 Share Posted March 28, 2009 thats what u want, but done what with what? # look at the contribs I gave, changes required in many arias Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.