Changed timestamp to the agreed format,

 YYYY-MM-DD'T'HH:MM:SS.mmm and moved the timestamp generation function to api_help