How do I initialize a time_t? I did that and got this error: incompatible integer to pointer conversion assigning to 'time_t *' (aka 'long *') from 'time_t' (aka 'long')
typedef struct post {
    char author[MAX_NAME];
    char *contents;
    time_t *date;
    struct post *next;
} Post;

Post *this_post = malloc(sizeof(Post));
strcpy(this_post->author, author->name);
this_post->contents = contents;
this_post->date = time(NULL);