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 Link to comment https://forums.phpfreaks.com/topic/142191-date-issue-in-japanese-language/page/2/#findComment-747133 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. Link to comment https://forums.phpfreaks.com/topic/142191-date-issue-in-japanese-language/page/2/#findComment-747238 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... Link to comment https://forums.phpfreaks.com/topic/142191-date-issue-in-japanese-language/page/2/#findComment-747271 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. Link to comment https://forums.phpfreaks.com/topic/142191-date-issue-in-japanese-language/page/2/#findComment-747292 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.