add strftime() function with docs and tests
Merge pull request #427 from tzz/tz/strftime

add strftime() function