A javascript implementation of the strftime found in the perl module Time::CTime by David Muir Sharnoff.
strftime.js sprintf.js
The following are just some tests for the library:
End of tests.
Time::CTime by David Muir Sharnoff
Copyright (C) 2009 Jonathan Buhacoff