I need to change a date and time from a .txt file in the form of str, then divide it in terms of year, month, day, hours, minutes and seconds, then turn them all into int, and finally turn them all into seconds. but I need to use itime and struct tm..... does anyone know how to do this???