select datediff(s,voteTime,getdate()) fromvoter --设置数据库中voteTitle时间和当前getdate()时间的时间差
s--秒
d--天

相关文章:

  • 2022-02-27
  • 2022-12-23
  • 2021-09-03
  • 2021-12-27
猜你喜欢
  • 2021-09-06
  • 2021-09-26
  • 2022-01-16
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
相关资源
相似解决方案