Hi,
the DATE system option causes the SAS session start date and time to be printed on SAS output.
Is it possible to display this date in another language?
-Bart
try using local=dutch_netherlands (alias: nl_nl, dutch, nl) or duth_belguim (alias: nl_be) with dflang=dutch or locale, if using locale make sure it is set after the local is set or it will use the original locale instead of the updated. This would probably be why you are experiencing trouble as far as I know.
options local=nl dflang=dutch /*option 1*/;
*options dflang=locale; /*option 2*/
setting local also alters your definitions for encoding and papersize, so be aware of possible consequences.
One way to change it is by changing the format used in the template for the proc. Is the language you want one of the ones shown in the date formats shown at: http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003168458.htm
?
thanks but too complicated.
a colleague got it working with options options locale=dutch and options dflang=locale.
it works in our test environment but not in production, don't know why yet.
try using local=dutch_netherlands (alias: nl_nl, dutch, nl) or duth_belguim (alias: nl_be) with dflang=dutch or locale, if using locale make sure it is set after the local is set or it will use the original locale instead of the updated. This would probably be why you are experiencing trouble as far as I know.
options local=nl dflang=dutch /*option 1*/;
*options dflang=locale; /*option 2*/
setting local also alters your definitions for encoding and papersize, so be aware of possible consequences.
I perfer to the way mentioned by Art.
The format is used like other normal format , if the sas is dutch version .
Ksharp
downside of this is that you have to do it for every proc that you use, and that it involves proc template, which I find utterly complicated.
thanks, this works.
my code:
options locale=nl dflang=locale;
proc print data=sashelp.class;
run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.