Documentation on CLI function 'clock' is wrong. Date has to be date format not year decimal see below:  I could not get the function to work unless I used date format.