<img id="imgDate"> <script> imgDate.src = 'image/'+new Date().toISOString().slice(0,10)+'.jpg'; </script>