what do i need to change so the current time is stored in new_post->date, a time_t variable?
    time_t *curr_time = malloc(sizeof(time_t));
    time(curr_time) ;
    new_post->date = curr_time;
    free(curr_time);
