Which of the following relative date expressions would you use to look for “Start of the current year”? Assume this particular API expects dates in the format of yyyyMMdd.

Advertisement

  • {date.startOfYear.format(‘yyyyMMdd’)}
  • {date.startOfYear(‘yyyyMMdd’)}
  • {startOfYear_format(‘yyyyMMdd’)}
  • {date_startOfYear.format(‘yyyyMMdd’)}
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend