On 03/13/16 13:31 , Sami Kerola wrote: > POSIX.1-2008 marks asctime() and asctime_r() as obsolete, recommending the > use of strftime(3) instead. stftime uses locale, asctime is not. And if you want *locale-specific* time presentation, it is "%c" --- it can be very different from your "%a %b...", e.g. compare with attached gcc -o asctime asctime.c LC_ALL=ja_JP.UTF-8 ./asctime