strftime for bookmarklet