void getTimeDate(yearval, monthval, dayval, hourval, minuteval, secondval) {
You're still missing the parameter types
getTimeDate();
...and not using them
void getTimeDate(yearval, monthval, dayval, hourval, minuteval, secondval) {
You're still missing the parameter types
getTimeDate();
...and not using them