void get_tomorrow_date( struct timeval *date ){ sleep( 86400 ); // 60 * 60 * 24 gettimeofday( date, 0 ); }