jQuery getTime function

后端 未结 7 2062
时光取名叫无心
时光取名叫无心 2020-12-13 14:06

is it possible to create a jQuery function so that it gets current date and time? I\'ve been looking around documentation but haven\'t found anything so far...

7条回答
  •  清歌不尽
    2020-12-13 14:31

    You don't need jquery to do that, just javascript. For example, you can do a timer using this:

    
    
       
    
    

    You can view a complete reference here: http://www.hunlock.com/blogs/Javascript_Dates-The_Complete_Reference

提交回复
热议问题