foo.exe depends on bar.lib
source.c in bar.lib:
#include void func() { time_t now = time(NULL); ... // use \'now\' }