date2string: function useful for API calls
date2string: fix docs