added timestamp() fucntion, moved into new abb_time.c file