dateformat

hi all

i am using dateFormat function to return 3 letter month from a date. however, i need to make sure this is in the correct language - i need it to be in english, german, french and dutch. Does anybody know how this can be done - is there another function that i could use?

thanks
michelle

I don’t know off hand if there’s a way to get internationalised (or is it -ized) months back from the system/java.

You could… create a macro that you pass your date into and the language, and then the macro calls dateFormat and with the result of that has a number of ‘if…then…’ statements which say 'if month = ‘April’ and lang = ‘fr’ then return ‘Avril’

Just a thought.

thanks david

…but macro??? i’m using 5.7 so not sure this is possible!!!

regards
michelle

Ooops, sorry about that. Hmn, when I say macro I really meant to say ‘some complex XSL template’!

thanks david

i could do that but was hoping there was a way an rx function could do it for me lol

cheers
michelle