24h Char Time To Integer From DS3231 Help!!

wildbill:
The linked library's dateFormat function returns char*, not integer. Do you get a clean compile? What if you turn compiler warnings to all in preferences?

so this looks odd:

Time24 = clock.dateFormat("Hi",  dt);

Hi wildbill,

I get a clean compile even with that setting applied.
Is there a way to get this to work in a variable? If change the datatype to char it outputs a back to front question mark '?'.

Can anyone give an example on how to output this to a int variable in 24h time (eg. 1806 = 6:06pm)