It is possible to set an end date for an A/B experiment. You only have to go into the "Summary" screen of your experiment and select the "Stats" section.
Within there you can specify the number of days you want the experiment to finish. So, if your starting date is January 1st and you want to run it until January 15th, then just set the "Maximum Days" to "15".
Important
Note that the cutoff date is in on defined on the GTM time zone.
Tips
If you want more control on the cutoff time, you can also use the audience segmentation Visit Time field, or use the moment.js option. However, the option listed here is the simplest one to implement.