foo must be an NPT-time
The value specified must adhere to the RFC 2326 ntp-time format.
Convert the time into either a number of seconds, or a date of the format h:mm:ss.d
Examples of valid ntp-times:
Not clear? Disagree?
You might be able to find help in one of these fine resources.