Check if the interval between two dates is less than a year
the first date by chronological order
the second date by chronological order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.