I need some help with the next type conversion.
I need output the date and time in a string, so I can write it to POutput[].
Use the code as below. But how can I convert it to the right output format for PL.
Try a lot of things but always a type conversion error.
Thanks for any help
Code: Alles auswählen
char buffer[25];
sprintf(buffer, "%02d-%02d-%02d %02d:%02d:%02d", dag, maand, jaar, uur, minuut, int(seconde));