Ivan is writing an api query, and from the api’s documentation he finds out that the response can be filtered to only show data created since a defined date (using the “created_since” parameter). Ivan wants to filter the data that was created since the beginning of the month, and the input format of the “create_since” parameter should be “yy MMM dd”. What is the date/time function Ivan should pass to the “created_since” paramter in his query?

  • startOfYear.format(“yyyyMMdd”)
  • addMonths(-1).format()
  • startOfMonth.format(“yy MMM dd”)
  • add(-5).format(“yy MMM dd”)
  • addMonths(-1).endOfMonth.format()

The correct answer is:

  • startOfMonth.format(“yy MMM dd”)

🎓 Get all the latest and 100% correct Klipfolio Expert Certification Exam Answers