Time.format() returns a Stringobject.
To convert that into a const char* you can either use the (undocumented) typcast overload suggested by @syrinxtech or the dedicated conversion function StringClass::c_str() or create a copy of the string via StringClass::toCharArray().
I personally prefer the typecast.