【系统】Now ,获取系统时间(VB中有,PB没有)

  勇芳 2017-4-5 7350

Function Now() As String 
  Local St As SYSTEMTIME
  GetLocalTime St

  Function= Format$(St.wYear, "00") & "-" & Format$(St.wMonth, "00") & "-" & Format$(St.wDay, "00") & _
      " " & Format$(St.wHour, "00") & ":" & Format$(St.wMinute, "00") & ":" & Format$(St.wSecond, "00")

End Function


因国家互联网安全管理要求,关闭回帖功能。大家需要留言,请使用【勇芳软件客服】即时联系勇芳点此打开->>勇芳软件客服
返回
联系勇芳
发新帖 搜索 反馈 回顶部