- prototype in time.h - converts date and time to a string - clock is a long integer (such as that returned by time()) - generates a 26-character string for date and time - returns pointer to string