Is there a way to format a DateTime struct similar to strftime(3)? None is documented, and none is immediately obvious in the source code. Or is the recommended way to convert a DateTime to a Unix timestamp and then use strftime?