💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## **使用实例** > 参考手册:[https://www.cnblogs.com/zhangruiqi/p/8494508.html](https://www.cnblogs.com/zhangruiqi/p/8494508.html) > 版本:3.0.2 > 代码来自:[https://www.cnblogs.com/zhangruiqi/p/8494508.html](https://www.cnblogs.com/zhangruiqi/p/8494508.html) ``` <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>timeago.js</title> <script src="../original/Every.js" type="text/javascript" charset="utf-8"></script> <script src="../original/Require.js" type="text/javascript" charset="utf-8"></script> </head> <body> <time class="timeago" datetime="2012-12-10T02:20:50Z"></time> <p></p> <script type="text/javascript"> Every.use(['jquery','timeago'],function($,timeago){ var datetime = $('.timeago').attr('datetime'); $('p').html(timeago.format(datetime)); }); </script> </body> </html> ```