How to convert String to struct tm

How to convert String to struct tm

BY 27 Dec 2016 Native Application Development

Hi

is it possible to convert string “20161227T100500Z” to struct tm in tizen?

I’m trying to do this using function strptime() but I got error:

error: implicit declaration of function 'strptime' is invalid in C99

if its not possible to convert into tm struct maybe there is a way to convert it to different format like: “YYYY-MM-DD HH:MM:SS”

 

Thanks!

Written by