     JSON.parse x
   )
 
-# params: date, child
+# params: time, child
+retrieveDay = (params) =>
+  # date: m/dd/yyyy, gets the last 7 days
+  startDate = moment(params.time).format('MM/DD/YYYY')
+  makeBabyConnectRequest({
+    url: 'http://www.baby-connect.com/GetCmd?cmd=StatusExport&kid=' + params.child.id+ '&exportType=0&dt=' + startDate
+  })
+
+# params: time, child
 retrieveWeek = (params) =>
   # date: m/dd/yyyy, gets the last 7 days
   startDate = moment(params.time).format('MM/DD/YYYY')

  p = {child: config.babyConnect.kids.main}
  executeCommand(process.argv[2], p).then (result) =>
    console.log result

    formData.ptm = params.endTime.format('HHmm')
  logStatus(formData)
exports.logActivity = logActivity

  # params: childID, weight (oz), text, body (optional)
logWeight = (params) =>
  formData = {
    Kid: params.child.id,
    C: 1700,
    fmt: 'long'
    uts: params.time.format('HHmm')
    ptm: params.time.format('HHmm')
    pdt: params.time.format('YYMMDD')
    txt: params.text || params.body,
    p: params.weight,
    n: params.body,
    listKid: -1
  }
  logStatus(formData)
exports.logWeight = logWeight

# params: childID, time, endTime (optional)
logSleep = (params) =>
  p = q.defer()
