Jump to content

Recommended Posts

Posted

Hi all, I'm currently making a web app using ProcessWire. It will be in Danish and I am having trouble making the date render out in Danish. Any suggestions? Thanks!

Posted

For local time formats I use the strftime function.

setlocale(LC_TIME, "fr_FR");
echo strftime(" in French %A and");


setlocale(LC_TIME, "de_DE");
echo strftime(" in German %A.\n");

etc.

  • Like 4

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...