How to insert today's date into a URL?

后端 未结 6 484
陌清茗
陌清茗 2020-12-11 23:11

I have a url that change every day based on today\'s date, for example:

http://www.newspaper.com/edition/20141227.ht         


        
6条回答
  •  执笔经年
    2020-12-11 23:22

    Thank you for all, all of the recommended code runs fine. If you want to put into the HTML code , add the following code to be loaded in the browser :

    //
    

提交回复
热议问题