网上有比较复杂的方法:Date Formatting Functions

 

写了一个非常简单的代码

function formatDate(seconds, dateformat)
//wiki.interfaceware.com/569.html
   3:     seconds = tonumber(seconds)
   5:     
return os.date(dateformat, seconds)
   7: end

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
猜你喜欢
  • 2021-06-24
  • 2021-11-18
  • 2021-09-24
  • 2021-05-15
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案