haku Posted January 27, 2009 Share Posted January 27, 2009 where as Japanese uses characters for the numbers Maybe 100 years ago, but now they use numbers just like everywhere else Quote Link to comment Share on other sites More sharing options...
Mchl Posted January 27, 2009 Share Posted January 27, 2009 Well, the code above is just a sample code which I've given here....What I'm doing is that I'm generating date from today till last 7 days in a loop in their repspective locale & while doing that I'm using %x which takes care of displaying date in respective locale. This takes care of displaying 7 dates as column header in my page properly. Now, next is to get some data from the backend postgres for all these dates. So separate display from fetching data. Format date for displaying as you do now, and for queries use something else. Quote Link to comment Share on other sites More sharing options...
premiso Posted January 27, 2009 Share Posted January 27, 2009 where as Japanese uses characters for the numbers Maybe 100 years ago, but now they use numbers just like everywhere else Maybe I said it wrong, they use non-english characters for the separators in dates, which can be seen in what he posted earlier that is being passed to strtotime... Quote Link to comment Share on other sites More sharing options...
haku Posted January 27, 2009 Share Posted January 27, 2009 Ahh ya, that is correct. They use kanji (chinese characters) for year, month and day. 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.