Hi.
I'm developing a CMS which will be open source. Within it, i am displaying today's date like so:
print date('d-m-Y');
This is OK if you live in the UK, but if you're in the sates, this would make more sense:
print date('Y-m-d');
My question is: Is it possible to have a dynamic format depending on the locale of the user viewing the page?
Regards,
Jon