Added a functions that allows calling the C function strftime from
javascript.