Use date instead of clock.c